/*
Theme Name: Prime Detection & Renovation
Theme URI: https://fun-pink-ostrich.sentineloutreach.agency
Author: Shay Agency
Author URI: https://fun-pink-ostrich.sentineloutreach.agency
Description: Custom WordPress theme and design system for Prime Detection & Renovation, a pool leak detection, repair, and renovation company serving Los Angeles and Southern California.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: primedetection
*/

/* =========================================================
   1. FONT FACES (self-hosted, no external font requests)
   ========================================================= */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('assets/fonts/CabinetGrotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('assets/fonts/CabinetGrotesk-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('assets/fonts/CabinetGrotesk-800.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-500.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   2. DESIGN TOKENS
   ========================================================= */
:root {
  --pdr-navy: #010C43;
  --pdr-blue: #1051ED;
  --pdr-cyan: #246AEE;
  --pdr-bg: #F8FAFC;
  --pdr-aqua-tint: #EAF3FF;
  --pdr-white: #FFFFFF;
  --pdr-text: #172033;
  --pdr-muted: #667085;
  --pdr-border: #E3E8EF;

  --pdr-gradient: linear-gradient(135deg, var(--pdr-blue) 0%, var(--pdr-cyan) 100%);
  --pdr-gradient-navy: linear-gradient(135deg, var(--pdr-navy) 0%, var(--pdr-blue) 100%);

  --font-heading: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.95rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.7rem + 2.6vw, 3.75rem);

  --sp-2xs: clamp(0.375rem, 0.35rem + 0.15vw, 0.5rem);
  --sp-xs: clamp(0.625rem, 0.55rem + 0.3vw, 0.875rem);
  --sp-sm: clamp(1rem, 0.9rem + 0.4vw, 1.5rem);
  --sp-md: clamp(1.5rem, 1.3rem + 0.8vw, 2.25rem);
  --sp-lg: clamp(2.25rem, 1.7rem + 2vw, 4rem);
  --sp-xl: clamp(3.5rem, 2.6rem + 3.5vw, 7rem);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 16px rgba(11, 31, 58, 0.08), 0 1px 3px rgba(11, 31, 58, 0.06);
  --shadow-card-hover: 0 12px 28px rgba(11, 31, 58, 0.14), 0 2px 6px rgba(11, 31, 58, 0.08);
  --shadow-button: 0 8px 20px rgba(36, 106, 180, 0.28);

  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  --transition: 200ms ease;
}

/* =========================================================
   3. RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--pdr-text);
  background: var(--pdr-white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--pdr-navy);
  margin: 0 0 var(--sp-sm);
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-xl); }
p { margin: 0 0 var(--sp-sm); max-width: 68ch; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; margin: 0 0 var(--sp-sm); }
a { color: var(--pdr-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pdr-navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--pdr-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--pdr-cyan); color: var(--pdr-navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 10000;
  background: var(--pdr-navy); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); transition: top var(--transition);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* =========================================================
   4. LAYOUT / CONTAINER / GRID
   ========================================================= */
.pdr-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.pdr-section {
  padding-block: var(--sp-xl);
  position: relative;
}
.pdr-section--tight { padding-block: var(--sp-lg); }
.pdr-section--alt { background: var(--pdr-bg); }
.pdr-section--dark {
  background: var(--pdr-gradient-navy);
  color: rgba(255,255,255,0.92);
}
.pdr-section--dark h1, .pdr-section--dark h2, .pdr-section--dark h3, .pdr-section--dark h4 { color: #fff; }
.pdr-section--dark p { color: rgba(255,255,255,0.78); }
.pdr-section--dark a:not(.btn) { color: var(--pdr-cyan); }

.pdr-header-row {
  max-width: 720px;
  margin: 0 0 var(--sp-lg);
}
.pdr-header-row--center { margin-inline: auto; text-align: center; }

.pdr-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pdr-blue);
  margin-bottom: var(--sp-2xs);
}
.pdr-section--dark .pdr-eyebrow { color: var(--pdr-cyan); }

.pdr-grid { display: grid; gap: var(--sp-md); }
.pdr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pdr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pdr-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pdr-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1023px) {
  .pdr-grid--4, .pdr-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pdr-grid--2, .pdr-grid--3, .pdr-grid--4, .pdr-grid--5 { grid-template-columns: 1fr; }
}

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
  line-height: 1;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--primary {
  background: var(--pdr-gradient);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(36,106,180,0.35); color: #fff; }
.wp-block-button__link.btn--secondary, a.btn--secondary {
  background: transparent;
  border-color: var(--pdr-blue);
  color: var(--pdr-blue);
}
.wp-block-button__link.btn--secondary:hover, a.btn--secondary:hover { background: var(--pdr-blue); color: #fff; transform: translateY(-2px); }
.btn--light {
  background: #fff;
  color: var(--pdr-navy);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); color: var(--pdr-navy); }
.btn--ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.pdr-actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); align-items: center; }

/* =========================================================
   6. CARDS
   ========================================================= */
.pdr-card {
  background: var(--pdr-white);
  border: 1px solid var(--pdr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.pdr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pdr-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--pdr-gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-sm);
  flex-shrink: 0;
}
.pdr-card__icon svg { width: 26px; height: 26px; }
.pdr-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2xs); }
.pdr-card p { color: var(--pdr-muted); font-size: var(--fs-sm); }
.pdr-card__link {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm);
  margin-top: var(--sp-xs); color: var(--pdr-blue);
}
.pdr-card__link::after { content: '→'; transition: transform var(--transition); }
.pdr-card__link:hover::after { transform: translateX(3px); }

/* =========================================================
   7. FORMS
   ========================================================= */
input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--pdr-text);
  background: var(--pdr-white);
  border: 1.5px solid var(--pdr-border);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--pdr-blue);
  box-shadow: 0 0 0 4px rgba(36,106,180,0.14);
  outline: none;
}
label { display: block; font-weight: 600; margin-bottom: 0.4em; font-size: var(--fs-sm); }

/* =========================================================
   8. HEADER / NAV / MOBILE MENU
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--pdr-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-sm);
  padding-block: var(--sp-xs);
}
.site-logo { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--pdr-navy); }
.site-logo:hover { color: var(--pdr-navy); }
.site-logo__mark {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--pdr-gradient); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.main-nav { display: flex; align-items: center; gap: var(--sp-md); }
.main-nav ul { list-style: none; display: flex; gap: var(--sp-sm); margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  color: var(--pdr-navy); font-weight: 600; font-size: var(--fs-sm);
}
.main-nav a:not(.btn):hover { color: var(--pdr-blue); }
.header-actions { display: flex; align-items: center; gap: var(--sp-sm); }
.header-phone { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-heading); font-weight: 700; color: var(--pdr-navy); }
.header-phone svg { color: var(--pdr-blue); flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--pdr-border);
  background: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--pdr-navy);
  position: relative; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: calc(var(--sp-xl)) var(--sp-md) var(--sp-md);
    transform: translateX(100%); transition: transform 280ms ease;
    box-shadow: -12px 0 32px rgba(11,31,58,0.15);
    gap: var(--sp-md);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: var(--sp-sm); }
  .header-actions .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* =========================================================
   3b. HEADER DROPDOWN (Services submenu)
   ========================================================= */
.main-nav .menu-item-has-children { position: relative; }
.main-nav .submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-left: 2px;
  border: none; background: transparent; color: var(--pdr-navy);
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.main-nav .submenu-toggle svg { transition: transform var(--transition); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 0; }

@media (min-width: 901px) {
  .main-nav li.menu-item-has-children { display: flex; align-items: center; }
  .main-nav .submenu-toggle { display: none; }
  .main-nav .sub-menu {
    position: absolute; top: 100%; left: 0; margin-top: var(--sp-xs);
    background: #fff; border: 1px solid var(--pdr-border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover); min-width: 300px; padding: 0.35em;
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 60;
  }
  .main-nav .sub-menu a {
    display: block; padding: 0.22em 0.8em; border-radius: var(--radius-sm);
    white-space: nowrap; font-weight: 500;
  }
  .main-nav .sub-menu a:hover { background: var(--pdr-bg); color: var(--pdr-blue); }
  .main-nav li.menu-item-has-children:hover > .sub-menu,
  .main-nav li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .main-nav .menu-item-has-children { flex-wrap: wrap; align-items: center; }
  .main-nav .submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .main-nav .sub-menu {
    flex-basis: 100%; width: 100%; max-height: 0; overflow: hidden;
    transition: max-height 280ms ease;
  }
  .main-nav li.menu-item-has-children.is-open > .sub-menu { max-height: 700px; }
  .main-nav .sub-menu a {
    display: block; padding: 0.5em 0 0.5em 1em; font-size: var(--fs-sm); font-weight: 500;
  }
}

/* =========================================================
   9. HERO
   ========================================================= */
.pdr-hero {
  position: relative;
  color: #fff;
  padding-block: clamp(3.5rem, 6vw + 2rem, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.pdr-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,31,58,0.92) 20%, rgba(11,31,58,0.65) 60%, rgba(36,106,180,0.55) 100%), var(--pdr-navy);
  z-index: -2;
}
.pdr-hero__bg {
  position: absolute; inset: 0; z-index: -3;
  object-fit: cover; width: 100%; height: 100%;
}
.pdr-hero__grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: var(--sp-lg); align-items: center; }
.pdr-hero__content { max-width: 640px; }
.pdr-hero h1 { color: #fff; margin-bottom: var(--sp-sm); }
.pdr-hero p { color: rgba(255,255,255,0.85); font-size: var(--fs-lg); }
.pdr-hero .pdr-eyebrow { color: var(--pdr-cyan); }
@media (max-width: 900px) {
  .pdr-hero__grid { grid-template-columns: 1fr; }
}

.pdr-trust-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-md);
  padding-block: var(--sp-md);
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: var(--sp-lg);
}
.pdr-trust-bar__item { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: var(--fs-sm); }
.pdr-trust-bar__item svg { color: var(--pdr-cyan); flex-shrink: 0; }

/* =========================================================
   10. ABOUT / FEATURES
   ========================================================= */
.pdr-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); align-items: center; }
@media (max-width: 900px) { .pdr-split { grid-template-columns: 1fr; } }
.pdr-split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.pdr-split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: block; }

.pdr-feature-list { list-style: none; margin: var(--sp-md) 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
@media (max-width: 600px) { .pdr-feature-list { grid-template-columns: 1fr; } }
.pdr-feature-list li {
  display: flex; align-items: center; gap: 0.7em;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm);
  color: var(--pdr-navy);
  background: var(--pdr-bg);
  border-radius: var(--radius-md);
  padding: 0.85em 1.1em;
}
.pdr-feature-list li svg { color: var(--pdr-blue); flex-shrink: 0; }

/* =========================================================
   11. CTA BANNER
   ========================================================= */
.pdr-cta-banner {
  background: var(--pdr-gradient-navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  color: #fff;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-sm);
}
.pdr-cta-banner h2 { color: #fff; }
.pdr-cta-banner p { color: rgba(255,255,255,0.82); max-width: 60ch; }

/* =========================================================
   12. STATS
   ========================================================= */
.pdr-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); text-align: center; }
@media (max-width: 700px) { .pdr-stats__grid { grid-template-columns: 1fr; } }
.pdr-stat__number {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2.25rem, 1.7rem + 2vw, 3.5rem);
  background: var(--pdr-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.pdr-stat__label { font-weight: 600; color: rgba(255,255,255,0.85); margin-top: 0.5em; }

/* =========================================================
   13. STEPS
   ========================================================= */
.pdr-steps__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-sm); counter-reset: step; }
@media (max-width: 1024px) { .pdr-steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pdr-steps__grid { grid-template-columns: 1fr; } }
.pdr-step { text-align: left; }
.pdr-step__num {
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--pdr-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
}
.pdr-step h3 { font-size: var(--fs-lg); margin-bottom: 0.3em; }
.pdr-step p { color: var(--pdr-muted); font-size: var(--fs-sm); }

/* =========================================================
   14. FAQ (native details/summary — works without JS)
   ========================================================= */
.pdr-faq-item {
  border-bottom: 1px solid var(--pdr-border);
  padding-block: var(--sp-sm);
}
.pdr-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg);
  color: var(--pdr-navy);
}
.pdr-faq-item summary::-webkit-details-marker { display: none; }
.pdr-faq-item summary::after {
  content: '+';
  font-size: 1.5em; font-weight: 400; color: var(--pdr-blue); flex-shrink: 0;
  transition: transform var(--transition);
}
.pdr-faq-item[open] summary::after { transform: rotate(45deg); }
.pdr-faq-item p { margin-top: var(--sp-xs); color: var(--pdr-muted); }

/* =========================================================
   15. WHY CHOOSE / BADGES
   ========================================================= */
.pdr-badges { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin: var(--sp-md) 0; }
.pdr-badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 0.6em 1.2em;
  font-weight: 600; font-size: var(--fs-sm); color: #fff;
}
.pdr-badge svg { color: var(--pdr-cyan); }
.pdr-service-tags { display: flex; flex-wrap: wrap; gap: 0.6em; margin: var(--sp-sm) 0; padding: 0; list-style: none; }
.pdr-service-tags li {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm); padding: 0.5em 0.9em; font-size: var(--fs-sm); color: rgba(255,255,255,0.85);
}

/* =========================================================
   16. FOOTER
   ========================================================= */
.site-footer { background: var(--pdr-navy); color: rgba(255,255,255,0.75); }
.site-footer a:not(.btn) { color: rgba(255,255,255,0.85); }
.site-footer a:not(.btn):hover { color: var(--pdr-cyan); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: var(--sp-lg); padding-block: var(--sp-xl); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--sp-sm); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6em; font-size: var(--fs-sm); }
.footer-logo { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: var(--sp-sm); }
.footer-social { display: flex; gap: 0.75em; margin-top: var(--sp-sm); }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: var(--sp-sm);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-xs);
  font-size: var(--fs-sm);
}
.footer-bottom ul { display: flex; gap: var(--sp-sm); list-style: none; padding: 0; margin: 0; }

/* =========================================================
   17. GUTENBERG / CORE BLOCK SUPPORT
   ========================================================= */
.alignwide { max-width: calc(var(--container-max) + 4rem); margin-inline: auto; }
.alignfull { max-width: none; width: 100%; margin-inline: 0; }
.wp-block-group { max-width: 100%; }
.wp-block-columns { gap: var(--sp-md); }
.wp-block-button__link { font-family: var(--font-heading); border-radius: var(--radius-sm); font-weight: 700; }
.wp-block-quote { border-left: 4px solid var(--pdr-blue); padding-left: var(--sp-sm); font-style: normal; color: var(--pdr-navy); }
.wp-block-image img { border-radius: var(--radius-md); }
.wp-caption-text, figcaption { color: var(--pdr-muted); font-size: var(--fs-sm); text-align: center; margin-top: 0.5em; }

/* =========================================================
   18. BLOG / ARCHIVE / SINGLE FOUNDATION
   ========================================================= */
.pdr-content-area { padding-block: var(--sp-xl); }
.pdr-content-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: var(--sp-lg); }
@media (max-width: 900px) { .pdr-content-layout { grid-template-columns: 1fr; } }
.entry-card { border-bottom: 1px solid var(--pdr-border); padding-block: var(--sp-md); }
.entry-card__title { font-size: var(--fs-h3); margin-bottom: 0.3em; }
.entry-card__title a { color: var(--pdr-navy); }
.entry-meta { color: var(--pdr-muted); font-size: var(--fs-sm); margin-bottom: 0.5em; }
.entry-content h2 { margin-top: var(--sp-lg); }
.entry-content img { border-radius: var(--radius-md); }
.pagination { display: flex; gap: var(--sp-xs); margin-top: var(--sp-lg); list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--pdr-border); font-weight: 600; font-size: var(--fs-sm);
}
.pagination .current { background: var(--pdr-blue); color: #fff; border-color: var(--pdr-blue); }
.widget { margin-bottom: var(--sp-md); }
.widget-title { font-size: var(--fs-lg); margin-bottom: var(--sp-xs); }

/* =========================================================
   19. SCROLL-REVEAL (progressive enhancement, degrades to visible)
   ========================================================= */
html:not(.js) .reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   20. ICON SET (CSS mask-image, no external requests, no emoji)
   ========================================================= */
.pdr-card__icon { position: relative; }
.pdr-card__icon::before {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 24px; height: 24px;
  background: #fff;
  -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain;
  mask-repeat: no-repeat; mask-position: center; mask-size: contain;
}
.pdr-card__icon.icon-droplet::before,
.pdr-mini-icon.icon-droplet {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C12 2 5 10.5 5 15.5a7 7 0 0 0 14 0C19 10.5 12 2 12 2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C12 2 5 10.5 5 15.5a7 7 0 0 0 14 0C19 10.5 12 2 12 2Z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-wrench::before,
.pdr-mini-icon.icon-wrench {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 4.3a5.6 5.6 0 0 1-7.6 7.6L6 20l-2-2 8.1-8.1a5.6 5.6 0 0 1 7.6-7.6l-3 3 1 1 3-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 4.3a5.6 5.6 0 0 1-7.6 7.6L6 20l-2-2 8.1-8.1a5.6 5.6 0 0 1 7.6-7.6l-3 3 1 1 3-3z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-crack::before,
.pdr-mini-icon.icon-crack {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='2,20 7,9 11,15 15,5 22,13' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='2,20 7,9 11,15 15,5 22,13' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-shield::before,
.pdr-mini-icon.icon-shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l7 3v6c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V5l7-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l7 3v6c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V5l7-3z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-phone::before,
.pdr-mini-icon.icon-phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.7 3.6 4.9 6.3 6.3l2.1-2.1c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.9 21 3 13.1 3 3.5c0-.5.4-1 1-1h3.6c.5 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.3 1.1L6.6 10.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.7 3.6 4.9 6.3 6.3l2.1-2.1c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.9 21 3 13.1 3 3.5c0-.5.4-1 1-1h3.6c.5 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.3 1.1L6.6 10.8Z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-mail::before,
.pdr-mini-icon.icon-mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpolyline points='3.5,6.5 12,13 20.5,6.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpolyline points='3.5,6.5 12,13 20.5,6.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-search::before,
.pdr-mini-icon.icon-search {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 3a7 7 0 1 0 4.32 12.5l5.09 5.09a1 1 0 0 0 1.41-1.41l-5.09-5.09A7 7 0 0 0 10 3Zm-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 3a7 7 0 1 0 4.32 12.5l5.09 5.09a1 1 0 0 0 1.41-1.41l-5.09-5.09A7 7 0 0 0 10 3Zm-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0Z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-clock::before,
.pdr-mini-icon.icon-clock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm-1 3a1 1 0 0 1 2 0v5.59l3.7 3.7a1 1 0 0 1-1.4 1.42L11 12.4V7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm-1 3a1 1 0 0 1 2 0v5.59l3.7 3.7a1 1 0 0 1-1.4 1.42L11 12.4V7Z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-gear::before,
.pdr-mini-icon.icon-gear {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.6 7.6 0 0 0 .07-1 7.6 7.6 0 0 0-.07-1l2.03-1.58a.5.5 0 0 0 .12-.63l-1.92-3.32a.5.5 0 0 0-.6-.22l-2.39.96a7.4 7.4 0 0 0-1.73-1l-.36-2.54a.5.5 0 0 0-.5-.42h-3.84a.5.5 0 0 0-.5.42l-.36 2.54c-.63.24-1.21.57-1.73 1l-2.39-.96a.5.5 0 0 0-.6.22L2.7 8.79a.5.5 0 0 0 .12.63L4.85 11a7.6 7.6 0 0 0-.07 1 7.6 7.6 0 0 0 .07 1l-2.03 1.58a.5.5 0 0 0-.12.63l1.92 3.32c.13.22.39.31.6.22l2.39-.96c.52.43 1.1.76 1.73 1l.36 2.54c.05.24.26.42.5.42h3.84c.24 0 .45-.18.5-.42l.36-2.54c.63-.24 1.21-.57 1.73-1l2.39.96c.21.09.47 0 .6-.22l1.92-3.32a.5.5 0 0 0-.12-.63L19.4 13ZM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.6 7.6 0 0 0 .07-1 7.6 7.6 0 0 0-.07-1l2.03-1.58a.5.5 0 0 0 .12-.63l-1.92-3.32a.5.5 0 0 0-.6-.22l-2.39.96a7.4 7.4 0 0 0-1.73-1l-.36-2.54a.5.5 0 0 0-.5-.42h-3.84a.5.5 0 0 0-.5.42l-.36 2.54c-.63.24-1.21.57-1.73 1l-2.39-.96a.5.5 0 0 0-.6.22L2.7 8.79a.5.5 0 0 0 .12.63L4.85 11a7.6 7.6 0 0 0-.07 1 7.6 7.6 0 0 0 .07 1l-2.03 1.58a.5.5 0 0 0-.12.63l1.92 3.32c.13.22.39.31.6.22l2.39-.96c.52.43 1.1.76 1.73 1l.36 2.54c.05.24.26.42.5.42h3.84c.24 0 .45-.18.5-.42l.36-2.54c.63-.24 1.21-.57 1.73-1l2.39.96c.21.09.47 0 .6-.22l1.92-3.32a.5.5 0 0 0-.12-.63L19.4 13ZM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7Z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-paint::before,
.pdr-mini-icon.icon-paint {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3H8a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1v2H6a2 2 0 0 0-2 2v6a1 1 0 0 0 2 0v-2h2v2a1 1 0 0 0 2 0v-6a2 2 0 0 0-2-2h1V9h9a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1ZM9 5h10v3H9V5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3H8a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1v2H6a2 2 0 0 0-2 2v6a1 1 0 0 0 2 0v-2h2v2a1 1 0 0 0 2 0v-6a2 2 0 0 0-2-2h1V9h9a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1ZM9 5h10v3H9V5Z'/%3E%3C/svg%3E");
}
.pdr-card__icon.icon-pin::before,
.pdr-mini-icon.icon-pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.pdr-mini-icon {
  display: inline-block; width: 18px; height: 18px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain;
  mask-repeat: no-repeat; mask-position: center; mask-size: contain;
}
.pdr-mini-icon.icon-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pdr-trust-bar__item .pdr-mini-icon, .header-phone .pdr-mini-icon { background: var(--pdr-cyan); }
.pdr-feature-list li .pdr-mini-icon, .pdr-badge .pdr-mini-icon { background: var(--pdr-blue); }
.pdr-section--dark .pdr-badge .pdr-mini-icon { background: var(--pdr-cyan); }

/* =========================================================
   21. MOBILE NAV REDESIGN v2 (overrides section 8 on small screens)
   ========================================================= */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,31,58,0.55);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1000;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.main-nav__head, .nav-close { display: none; }

@media (max-width: 900px) {
  .site-header__inner { position: relative; }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    height: 100vh;
    width: min(360px, 88vw);
    background: var(--pdr-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -20px 0 48px rgba(11,31,58,0.22);
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }

  .main-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-sm) var(--sp-md);
    background: var(--pdr-gradient-navy);
    color: #fff;
    flex-shrink: 0;
  }
  .main-nav__brand {
    display: flex; align-items: center; gap: 0.6em;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: #fff;
  }
  .main-nav__brand .site-logo__mark { width: 32px; height: 32px; }

  .nav-close {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
  }
  .nav-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--sp-sm) var(--sp-md);
    margin: 0;
  }
  .main-nav ul li { border-bottom: 1px solid var(--pdr-border); }
  .main-nav ul li:last-child { border-bottom: none; }
  .main-nav a:not(.btn) {
    display: block;
    padding: 0.95em 0.25em;
    font-size: var(--fs-lg);
    font-weight: 700;
  }

  .header-actions {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-sm);
    padding: var(--sp-md);
    border-top: 1px solid var(--pdr-border);
    background: var(--pdr-bg);
  }
  .header-actions .header-phone {
    display: inline-flex;
    justify-content: center;
    font-size: var(--fs-lg);
  }
  .header-actions .btn { width: 100%; }
}

/* Defensive: guarantee the mobile panel is inert until explicitly opened */
@media (max-width: 900px) {
  .main-nav:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
  }
  .main-nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }
}

/* Prevent horizontal scroll from the fixed, off-canvas mobile nav panel
   (position:fixed + transform can still register in the page's scrollable
   overflow on some mobile browsers even though it's visually off-screen) */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* =====================================================
   22. UPLOADED LOGO (media library image, replaces text logo)
   ===================================================== */
.site-logo-wrap { display: flex; align-items: center; }
.site-logo-wrap .custom-logo,
.site-logo-wrap img {
  height: 64px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
}

.main-nav__brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Panel header strip is dark navy; the source logo is dark text on
     transparent background, so render it in white to stay legible. */
  filter: brightness(0) invert(1);
}

.footer-logo__img {
  height: 76px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: var(--sp-sm, 0.75rem);
  /* Footer background is dark navy; render the dark-on-transparent
     source logo in white so it stays visible. */
  filter: brightness(0) invert(1);
}
@media (max-width: 600px) {
  .footer-logo__img { height: 60px; }
}

@media (max-width: 900px) {
  .site-logo-wrap .custom-logo,
  .site-logo-wrap img { height: 48px; }
}


/* =====================================================
   23. AQUATIC MOTION SYSTEM (wave dividers, ripple accents)
   ===================================================== */
.pdr-wave-divider {
  line-height: 0;
}
.pdr-wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(32px, 5vw, 72px);
}

@keyframes pdr-ripple {
  0%   { transform: scale(0.82); opacity: 0.5; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pdr-ripple-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(36, 106, 238, 0.35);
  pointer-events: none;
  animation: pdr-ripple 3.2s ease-out infinite;
}
.pdr-ripple-ring--delay { animation-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) {
  .pdr-ripple-ring { animation: none; opacity: 0.22; }
}

/* Generic shimmer sweep, used on card hover / highlighted elements */
@keyframes pdr-shimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.pdr-shimmer-hover { position: relative; overflow: hidden; }
.pdr-shimmer-hover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.pdr-shimmer-hover:hover::after,
.pdr-shimmer-hover:focus-within::after {
  animation: pdr-shimmer 1.1s ease;
}
@media (prefers-reduced-motion: reduce) {
  .pdr-shimmer-hover::after { display: none; }
}

/* =====================================================
   24. HERO VISUAL PANEL (real photo + floating stat badge)
   ===================================================== */
.pdr-hero__grid {
  position: relative;
}
.pdr-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(1, 12, 67, 0.35);
  isolation: isolate;
}
.pdr-hero__visual::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 75% 20%, rgba(36,106,238,0.55), transparent 60%);
  z-index: -1;
  filter: blur(10px);
}
.pdr-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.pdr-hero__visual .pdr-ripple-ring {
  top: 12%;
  right: 10%;
  width: 90px;
  height: 90px;
  border-color: rgba(255,255,255,0.55);
}

.pdr-hero__badge {
  position: absolute;
  left: var(--sp-md);
  bottom: var(--sp-md);
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  padding: 0.85em 1.15em;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover, 0 12px 30px rgba(1,12,67,0.2));
  max-width: calc(100% - var(--sp-lg));
}
.pdr-hero__badge-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-h3);
  color: var(--pdr-blue);
  line-height: 1;
}
.pdr-hero__badge-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--pdr-navy);
  line-height: 1.15;
}
@media (max-width: 900px) {
  .pdr-hero__badge { left: var(--sp-sm); bottom: var(--sp-sm); padding: 0.7em 0.9em; }
  .pdr-hero__badge-num { font-size: var(--fs-lg); }
}


/* =====================================================
   25. PHOTO SECTION BACKGROUNDS
   ===================================================== */
.pdr-section--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}
.pdr-section--photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(1,12,67,0.93) 10%, rgba(1,12,67,0.8) 55%, rgba(16,81,237,0.72) 100%);
  z-index: 0;
}
.pdr-section--photo > .pdr-container { position: relative; z-index: 1; }
.pdr-section--photo h1, .pdr-section--photo h2, .pdr-section--photo h3, .pdr-section--photo h4 { color: #fff; }
.pdr-section--photo p { color: rgba(255,255,255,0.82); }
.pdr-section--photo .pdr-eyebrow { color: var(--pdr-cyan); }

.pdr-section--photo-light {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.pdr-section--photo-light::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,250,252,0.94), rgba(234,243,255,0.92));
  z-index: 0;
}
.pdr-section--photo-light > .pdr-container { position: relative; z-index: 1; }

.pdr-cta-banner--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}
.pdr-cta-banner--photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(1,12,67,0.91), rgba(16,81,237,0.78));
  z-index: 0;
}
.pdr-cta-banner--photo > * { position: relative; z-index: 1; }
.pdr-cta-banner--ripple { background-blend-mode: multiply; background-color: #0B3FBF; }

.pdr-split__media .pdr-real-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.pdr-section--photo .pdr-ripple-ring,
.pdr-section--photo-light .pdr-ripple-ring {
  z-index: 1;
}


/* =====================================================
   26. GLASS CARDS (frosted panels over photo sections)
   ===================================================== */
.pdr-glass-panel {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
}
.pdr-glass-panel__title {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-sm);
}

.pdr-glass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
@media (max-width: 900px) { .pdr-glass-grid { grid-template-columns: 1fr; } }

.pdr-glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.pdr-glass-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.32);
}
.pdr-glass-card .pdr-card__icon { box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.pdr-glass-card h3 { color: #fff; margin-bottom: 0.4em; }
.pdr-glass-card p { color: rgba(255,255,255,0.82); margin: 0; }

.pdr-service-tags--pill li {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 0.55em 1.1em 0.55em 0.85em;
  transition: transform var(--transition), background var(--transition);
  color: rgba(255,255,255,0.9);
}
.pdr-service-tags--pill li:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.pdr-service-tags--pill .pdr-mini-icon { color: var(--pdr-cyan); }


/* ============================================
   27. TRUST BADGE STRIP
   ============================================ */
.pdr-section--tight {
  padding-block: var(--sp-lg);
}
.pdr-badge-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--pdr-aqua-tint) 0%, var(--pdr-white) 65%);
}
.pdr-badge-strip__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 90vw);
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(36, 106, 238, 0.14), transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.pdr-badge-strip .pdr-container {
  position: relative;
  z-index: 1;
}
.pdr-badge-strip__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.pdr-badge-strip__row .wp-block-image {
  margin: 0;
}
.pdr-badge-strip__card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pdr-white);
  border: 1px solid var(--pdr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 2.4vw, 1.85rem) clamp(1.5rem, 3.5vw, 2.5rem);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pdr-badge-strip__card:hover,
.pdr-badge-strip__card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pdr-cyan);
}
.pdr-badge-strip__img {
  margin: 0;
  line-height: 0;
}
.pdr-badge-strip__img img {
  height: clamp(72px, 8vw, 104px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition), filter var(--transition);
}
.pdr-badge-strip__card:hover .pdr-badge-strip__img img,
.pdr-badge-strip__card:focus-within .pdr-badge-strip__img img {
  transform: scale(1.07);
}
@media (prefers-reduced-motion: reduce) {
  .pdr-badge-strip__card,
  .pdr-badge-strip__card:hover,
  .pdr-badge-strip__img img,
  .pdr-badge-strip__card:hover .pdr-badge-strip__img img {
    transform: none;
  }
}
@media (max-width: 600px) {
  .pdr-badge-strip__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .pdr-badge-strip__card {
    padding: 1rem 0.75rem;
    width: 100%;
  }
  .pdr-badge-strip__img img {
    height: clamp(56px, 16vw, 76px);
  }
}

/* ============================================
   28. INNER PAGE HEADER (breadcrumbs + title)
   ============================================ */
.pdr-page-header {
  min-height: clamp(260px, 32vw, 400px);
  display: flex;
  align-items: center;
}
.pdr-page-header__inner {
  text-align: center;
  padding-block: var(--sp-xl);
  width: 100%;
}
.pdr-page-header__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72) !important;
  max-width: none;
  width: fit-content;
  margin: var(--sp-sm) auto 0;
}
.pdr-page-header__breadcrumbs a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color var(--transition);
}
.pdr-page-header__breadcrumbs a:hover { color: #fff; }
.pdr-page-header__breadcrumbs .pdr-page-header__sep { color: var(--pdr-cyan); }
.pdr-page-header__breadcrumbs .pdr-page-header__current { color: #fff; }
.pdr-page-header__title {
  color: #fff !important;
  margin: 0;
  text-align: center;
}

/* 4-up variant of the glass card grid, used for compact icon+label cards */
.pdr-glass-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .pdr-glass-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pdr-glass-grid--4 { grid-template-columns: 1fr; }
}
.pdr-glass-card--compact {
  text-align: center;
  padding: var(--sp-md) var(--sp-sm);
}
.pdr-glass-card--compact .pdr-card__icon { margin: 0 auto var(--sp-xs); }
.pdr-glass-card--compact h3 {
  font-size: var(--fs-base);
  margin: 0;
}

.pdr-card__icon.icon-check::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* =====================================================
   29. TOP BAR + STICKY HEADER SCROLL STATE
   ===================================================== */
.pdr-topbar {
  background: var(--pdr-navy);
  color: rgba(255,255,255,0.88);
  position: relative;
  z-index: 1000;
}
.pdr-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding-block: 0.5em;
  font-size: var(--fs-sm);
}
.pdr-topbar__badge { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; }
.pdr-topbar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pdr-cyan);
  flex-shrink: 0;
  animation: pdr-dot-pulse 2s ease-out infinite;
}
@keyframes pdr-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(36,106,238,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(36,106,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(36,106,238,0); }
}
.pdr-topbar__license { opacity: 0.65; }
.pdr-topbar__phone { display: inline-flex; align-items: center; gap: 0.5em; color: #fff; font-weight: 700; font-family: var(--font-heading); }
.pdr-topbar__phone svg { color: var(--pdr-cyan); flex-shrink: 0; }
.pdr-topbar__phone:hover { color: var(--pdr-cyan); }
@media (max-width: 700px) { .pdr-topbar__license { display: none; } }
@media (prefers-reduced-motion: reduce) { .pdr-topbar__dot { animation: none; } }

.site-header { transition: box-shadow var(--transition); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(1,12,67,0.14); }


/* =====================================================
   30. DUAL-COLOR / GRADIENT HEADING TEXT
   ===================================================== */
.pdr-grad-text {
  background: linear-gradient(120deg, var(--pdr-navy) 0%, var(--pdr-blue) 55%, var(--pdr-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pdr-grad-text--light {
  background: linear-gradient(120deg, #ffffff 0%, var(--pdr-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =====================================================
   31. VALUE PILLARS
   ===================================================== */
.pdr-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
@media (max-width: 1023px) { .pdr-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pdr-pillars { grid-template-columns: 1fr; } }
.pdr-pillar {
  background: var(--pdr-white);
  border: 1px solid var(--pdr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pdr-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pdr-pillar .pdr-card__icon { margin: 0 auto var(--sp-sm); }
.pdr-pillar h3 { font-size: var(--fs-lg); margin-bottom: 0.35em; }
.pdr-pillar p { color: var(--pdr-muted); font-size: var(--fs-sm); margin: 0; }


/* =====================================================
   32. INTERACTIVE TECH SHOWCASE
   ===================================================== */
.pdr-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
  position: relative;
}
@media (max-width: 900px) { .pdr-tech-grid { grid-template-columns: 1fr; gap: var(--sp-xl); } }
.pdr-tech-step { text-align: center; }
.pdr-tech-step__frame-wrap { position: relative; width: 132px; margin: 0 auto var(--sp-sm); }
.pdr-tech-step__frame {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--pdr-white);
  box-shadow: var(--shadow-card-hover);
}
.pdr-tech-step__frame img { width: 100%; height: 100%; object-fit: cover; }
.pdr-tech-step__num {
  position: absolute; top: -4px; right: -4px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pdr-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-sm);
  box-shadow: 0 4px 10px rgba(1,12,67,0.3);
}
.pdr-tech-step h3 { font-size: var(--fs-lg); margin-bottom: 0.35em; }
.pdr-tech-step p { color: var(--pdr-muted); font-size: var(--fs-sm); max-width: 30ch; margin-inline: auto; }


/* =====================================================
   33. FAQ ACCORDION (button-based, smooth height toggle)
   ===================================================== */
.pdr-faq-list { border-top: 1px solid var(--pdr-border); }
.pdr-faq-item { border-bottom: 1px solid var(--pdr-border); }
.pdr-faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm);
  background: none; border: none; cursor: pointer; text-align: left;
  padding-block: var(--sp-sm);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg);
  color: var(--pdr-navy);
}
.pdr-faq-item__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--pdr-aqua-tint); flex-shrink: 0; transition: background var(--transition); }
.pdr-faq-item__icon::before, .pdr-faq-item__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--pdr-blue); transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.pdr-faq-item__icon::before { width: 12px; height: 2px; }
.pdr-faq-item__icon::after { width: 2px; height: 12px; }
.pdr-faq-item__q[aria-expanded="true"] .pdr-faq-item__icon { background: var(--pdr-blue); }
.pdr-faq-item__q[aria-expanded="true"] .pdr-faq-item__icon::before,
.pdr-faq-item__q[aria-expanded="true"] .pdr-faq-item__icon::after { background: #fff; }
.pdr-faq-item__q[aria-expanded="true"] .pdr-faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.pdr-faq-item__a { overflow: hidden; }
.js .pdr-faq-item__a { height: 0; }
.pdr-faq-item__a p { color: var(--pdr-muted); padding-bottom: var(--sp-sm); margin: 0; }


/* =====================================================
   34. BUTTON LIGHT-SWEEP HOVER
   ===================================================== */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.5) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 550ms ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
@media (prefers-reduced-motion: reduce) { .btn::after { transition: none; display: none; } }


/* =====================================================
   35. FINAL CONVERSION CTA BAND
   ===================================================== */
.pdr-final-cta {
  position: relative;
  background: linear-gradient(120deg, var(--pdr-navy) 0%, var(--pdr-blue) 55%, var(--pdr-cyan) 130%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.pdr-final-cta h2 { color: #fff; }
.pdr-final-cta p { color: rgba(255,255,255,0.85); max-width: 62ch; margin-inline: auto; }
.pdr-final-cta .pdr-actions { justify-content: center; margin-top: var(--sp-sm); }

/* =====================================================
   36. SERVICE CARD HOVER RIPPLE (JS sets --ripple-x/--ripple-y and toggles .is-rippling)
   ===================================================== */
.pdr-card { position: relative; overflow: hidden; }
.pdr-card::before {
  content: '';
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  width: 12px; height: 12px;
  background: radial-gradient(circle, rgba(36,106,238,0.28) 0%, rgba(36,106,238,0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 700ms ease, opacity 700ms ease;
  z-index: 0;
}
.pdr-card.is-rippling::before { transform: translate(-50%, -50%) scale(22); opacity: 1; }
.pdr-card > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .pdr-card::before { transition: none; display: none; }
}

/* =====================================================
   37. ICON HOVER FLIP (site-wide, all card-icons and mini-icons)
   ===================================================== */
.pdr-card__icon, .pdr-mini-icon {
  transition: transform 550ms ease, background var(--transition);
  transform-style: preserve-3d;
  backface-visibility: visible;
}
.pdr-card:hover .pdr-card__icon,
.pdr-pillar:hover .pdr-card__icon,
.pdr-glass-card:hover .pdr-card__icon,
.pdr-tech-step:hover .pdr-card__icon,
.pdr-card__icon:hover {
  transform: rotateY(360deg);
}
.pdr-trust-bar__item:hover .pdr-mini-icon,
.pdr-feature-list li:hover .pdr-mini-icon,
.pdr-badge:hover .pdr-mini-icon,
.pdr-service-tags--pill li:hover .pdr-mini-icon,
.pdr-service-tags:hover .pdr-mini-icon,
.header-phone:hover .pdr-mini-icon,
.pdr-topbar__phone:hover .pdr-mini-icon,
.pdr-mini-icon:hover {
  transform: rotateY(360deg);
}
@media (prefers-reduced-motion: reduce) {
  .pdr-card__icon, .pdr-mini-icon { transition: none; }
  .pdr-card:hover .pdr-card__icon,
  .pdr-pillar:hover .pdr-card__icon,
  .pdr-glass-card:hover .pdr-card__icon,
  .pdr-tech-step:hover .pdr-card__icon,
  .pdr-card__icon:hover,
  .pdr-trust-bar__item:hover .pdr-mini-icon,
  .pdr-feature-list li:hover .pdr-mini-icon,
  .pdr-badge:hover .pdr-mini-icon,
  .pdr-service-tags--pill li:hover .pdr-mini-icon,
  .pdr-service-tags:hover .pdr-mini-icon,
  .header-phone:hover .pdr-mini-icon,
  .pdr-topbar__phone:hover .pdr-mini-icon,
  .pdr-mini-icon:hover {
    transform: none;
  }
}

/* =====================================================
   38. CONTACT PAGE
   ===================================================== */
.pdr-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--sp-lg);
  align-items: start;
}
@media (max-width: 900px) {
  .pdr-contact-grid { grid-template-columns: 1fr; }
}
.pdr-contact-card {
  background: var(--pdr-white);
  border: 1px solid var(--pdr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.pdr-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding-block: var(--sp-sm);
  border-bottom: 1px solid var(--pdr-border);
}
.pdr-contact-info__item:last-of-type { border-bottom: none; }
.pdr-contact-info__item .pdr-card__icon {
  width: 44px; height: 44px;
  margin-bottom: 0;
}
.pdr-contact-info__item .pdr-card__icon::before { width: 20px; height: 20px; }
.pdr-contact-info__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pdr-muted);
  margin-bottom: 0.25em;
}
.pdr-contact-info__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--pdr-navy);
}
a.pdr-contact-info__value:hover { color: var(--pdr-blue); }
.pdr-contact-info__value--muted {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--pdr-text);
}
.pdr-contact-card .pdr-actions { margin-top: var(--sp-md); }

/* =====================================================
   39. FLUENT FORMS -- BRAND STYLING
   Overrides the plugin's default look so the embedded
   contact form matches the site's card/input/button system.
   ===================================================== */
.pdr-contact-card .fluentform,
.pdr-contact-card .frm-fluent-form { font-family: var(--font-body); }

.fluentform .ff-el-group { margin-bottom: var(--sp-sm); }

/* Field labels are visually hidden -- placeholders carry the visible copy,
   labels stay in the DOM (not display:none) so screen readers still get them. */
.fluentform .ff-el-input--label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.fluentform .ff-el-group { position: relative; }

.fluentform input.ff-el-form-control,
.fluentform textarea.ff-el-form-control,
.fluentform select.ff-el-form-control {
  font-family: var(--font-body) !important;
  font-size: var(--fs-base) !important;
  color: var(--pdr-text) !important;
  background: var(--pdr-white) !important;
  border: 1.5px solid var(--pdr-border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.85em 1em !important;
  width: 100%;
  box-shadow: none !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.fluentform input.ff-el-form-control:focus,
.fluentform textarea.ff-el-form-control:focus,
.fluentform select.ff-el-form-control:focus {
  border-color: var(--pdr-blue) !important;
  box-shadow: 0 0 0 4px rgba(36,106,180,0.14) !important;
  outline: none !important;
}
.fluentform textarea.ff-el-form-control { resize: vertical; min-height: 8.5em; }

/* GDPR / terms checkbox */
.fluentform .ff-el-form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65em;
  cursor: pointer;
}
.fluentform .ff_tc_checkbox { display: flex; align-items: center; padding-top: 0.15em; }
.fluentform .ff-el-form-check-input {
  width: 18px; height: 18px;
  accent-color: var(--pdr-blue);
  flex-shrink: 0;
  margin: 0;
}
.fluentform .ff_t_c {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--pdr-muted);
}

/* Submit button -- matches .btn.btn--primary, including the light-sweep hover */
.fluentform .ff-btn-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: var(--fs-base) !important;
  line-height: 1;
  padding: 0.95em 1.9em !important;
  border-radius: var(--radius-sm) !important;
  border: 2px solid transparent !important;
  background: var(--pdr-gradient) !important;
  color: #fff !important;
  box-shadow: var(--shadow-button) !important;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fluentform .ff-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(36,106,180,0.35) !important;
  color: #fff !important;
}
.fluentform .ff-btn-submit::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.5) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 550ms ease;
  pointer-events: none;
}
.fluentform .ff-btn-submit:hover::after { transform: translateX(130%); }
.fluentform .ff_submit_btn_wrapper { margin-top: var(--sp-xs); }

/* Validation + response messages */
.fluentform .error,
.fluentform .text-danger,
.fluentform .ff-el-form-control.error {
  border-color: #d9483a !important;
}
.fluentform .error:not(.ff-el-form-control) {
  color: #d9483a;
  font-size: var(--fs-sm);
  margin-top: 0.35em;
  display: block;
}
.fluentform .ff-message-success,
.fluentform [data-success],
.fluentform .ff_success_message {
  background: var(--pdr-aqua-tint);
  border: 1px solid var(--pdr-cyan);
  border-radius: var(--radius-md);
  padding: var(--sp-sm) var(--sp-md);
  color: var(--pdr-navy);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .fluentform .ff-btn-submit::after { transition: none; display: none; }
}


/* =====================================================
   40. CONTACT PAGE -- MAP EMBED
   ===================================================== */
.pdr-map-embed {
  margin-top: var(--sp-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--pdr-border);
  line-height: 0;
}
.pdr-map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border: 0;
}

/* =====================================================
   41. SERVICES PAGE -- ACCORDION LEAD ICON + ANCHORS
   ===================================================== */
.pdr-faq-item[id] { scroll-margin-top: 110px; }
.pdr-faq-item__q-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex: 1;
}
.pdr-faq-item__lead {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.pdr-faq-item__lead::before { width: 18px; height: 18px; }
.pdr-faq-item__a .pdr-card__link { display: inline-block; margin-top: 0.4em; }

/* =====================================================
   42. SERVICES PAGE -- LIGHT LIST ON DARK/PHOTO SECTIONS
   ===================================================== */
.pdr-service-list-light {
  columns: 2;
  column-gap: var(--sp-lg);
  text-align: left;
}
.pdr-service-list-light li {
  color: rgba(255,255,255,0.9);
  break-inside: avoid;
  margin-bottom: 0.5em;
}
.pdr-service-list-light li::marker { color: var(--pdr-cyan); }
@media (max-width: 600px) { .pdr-service-list-light { columns: 1; } }

/* =====================================================
   43. POOL LEAK DETECTION PAGE -- CHECKLIST + STANDALONE CONTACT FORM
   ===================================================== */
.pdr-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm) var(--sp-lg);
  margin-top: var(--sp-md);
}
.pdr-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xs);
}
.pdr-checklist__item .pdr-mini-icon {
  color: var(--pdr-blue);
  margin-top: 0.3em;
}
@media (max-width: 600px) {
  .pdr-checklist { grid-template-columns: 1fr; }
}
.pdr-contact-form--standalone {
  max-width: 640px;
  margin: var(--sp-lg) auto 0;
}
.pdr-section--dark .pdr-contact-form--standalone.pdr-contact-card {
  background: var(--pdr-white);
}

/* =====================================================
   44. POOL LEAK DETECTION PAGE -- SPLIT REVERSE + 3-COL PILLARS
   ===================================================== */
.pdr-split--reverse > div:first-child { order: 2; }
.pdr-split--reverse > .pdr-split__media { order: 1; }
.pdr-pillars--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .pdr-pillars--3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pdr-pillars--3col { grid-template-columns: 1fr; } }

/* =====================================================
   45. POOL LEAK DETECTION PAGE -- QUICK CONTACT LINE ON DARK BG
   ===================================================== */
.pdr-quick-contact a:not(.btn) {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.5);
}
.pdr-quick-contact a:not(.btn):hover {
  color: var(--pdr-cyan);
  text-decoration-color: var(--pdr-cyan);
}

/* =====================================================
   46. FLUENT FORMS -- GDPR/SMS CONSENT TEXT SIZE
   ===================================================== */
.fluentform .ff_t_c {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--pdr-muted);
}
.fluentform .ff_t_c a {
  text-decoration: underline;
}

/* =====================================================
   47. LEGAL PAGES (TERMS / PRIVACY) -- TEXT-ONLY LAYOUT
   ===================================================== */
.pdr-legal { max-width: 780px; }
.pdr-legal__meta { color: var(--pdr-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-md); }
.pdr-legal h2 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-xs);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--pdr-border);
}
.pdr-legal h2:first-of-type { padding-top: 0; border-top: none; margin-top: var(--sp-lg); }
.pdr-legal h3 { margin-top: var(--sp-md); margin-bottom: var(--sp-2xs); }
.pdr-legal ul { margin: 0 0 var(--sp-sm); padding-left: 1.25em; }
.pdr-legal li { margin-bottom: 0.4em; max-width: 68ch; }

/* =====================================================
   48. JACUZZI/SPA PAGE -- REPORT/DOCUMENT ICON
   ===================================================== */
.pdr-card__icon.icon-doc::before,
.pdr-mini-icon.icon-doc {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6%202a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8l-6-6H6Zm7%201.5L18.5%209H13V3.5ZM8%2013h8v2H8v-2Zm0%204h8v2H8v-2Zm0-8h5v2H8V9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6%202a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8l-6-6H6Zm7%201.5L18.5%209H13V3.5ZM8%2013h8v2H8v-2Zm0%204h8v2H8v-2Zm0-8h5v2H8V9Z'/%3E%3C/svg%3E");
}

/* =====================================================
   49. POOL CRACK REPAIR PAGE -- 3-COL GLASS GRID (5-ITEM WRAP)
   ===================================================== */
.pdr-glass-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .pdr-glass-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pdr-glass-grid--3col { grid-template-columns: 1fr; }
}

/* =========================================================
   24. QUOTE MODAL ("Get A Quote" header button)
   ========================================================= */
.pdr-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(1,12,67,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
  z-index: 2000;
}
.pdr-modal-backdrop.is-open { opacity: 1; visibility: visible; }

.pdr-modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  z-index: 2001;
  transition: opacity 320ms ease, visibility 320ms ease;
}
.pdr-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.pdr-modal__card {
  position: relative;
  background: #fff;
  width: min(540px, 100%);
  max-height: min(88vh, 740px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(1,12,67,0.35);
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  transform: translateY(28px) scale(0.95);
  opacity: 0;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease;
}
.pdr-modal.is-open .pdr-modal__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pdr-modal__close {
  position: absolute; top: var(--sp-sm); right: var(--sp-sm);
  width: 38px; height: 38px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--pdr-border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--pdr-navy);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
}
.pdr-modal__close:hover { background: var(--pdr-bg); border-color: var(--pdr-blue); color: var(--pdr-blue); transform: rotate(90deg); }

.pdr-modal__header { text-align: center; margin-bottom: var(--sp-sm); padding-right: var(--sp-lg); }
.pdr-modal__title { margin-bottom: 0.3em; }
.pdr-modal__subtitle { color: var(--pdr-muted); font-size: var(--fs-sm); margin: 0; }

.pdr-modal__body .fluentform { margin: 0; }

@media (max-width: 600px) {
  .pdr-modal { padding: var(--sp-sm); }
  .pdr-modal__card { padding: var(--sp-md) var(--sp-sm) var(--sp-sm); border-radius: var(--radius-md); max-height: 92vh; }
  .pdr-modal__header { padding-right: var(--sp-md); }
}

@media (prefers-reduced-motion: reduce) {
  .pdr-modal-backdrop, .pdr-modal, .pdr-modal__card { transition: none !important; }
}