/* -------------------------------------------------------------------
   PLUMBER TRUCKEE - OFFICIAL STYLESHEET (MASTER STANDARD)
------------------------------------------------------------------- */

:root {
  --primary-blue: #0f4c81;
  --primary-dark: #0a3256;
  --accent-blue: #2589d6;
  --accent-cyan: #00b4d8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-blue);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* UNIFIED SITE HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--accent-blue);
}

/* MAIN NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--primary-blue);
}

/* CLEAN MODERN SVG DROPDOWN ARROW ICON */
.dropdown-arrow-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow-icon {
  transform: rotate(180deg);
}

/* REDESIGNED 29-SERVICE MULTI-COLUMN DROPDOWN */
.services-dropdown {
  position: absolute;
  top: 100%;
  left: -150px;
  width: 780px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  max-height: 550px;
  overflow-y: auto;
  z-index: 1100;
}

.nav-item.has-dropdown:hover .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.services-dropdown a:hover {
  background-color: rgba(0, 180, 216, 0.08);
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.service-icon-futuristic {
  width: 20px;
  height: 20px;
  fill: #00b4d8;
  color: #00b4d8;
  flex-shrink: 0;
}

/* 5-COLUMN MEGA MENU FOR SERVICE AREAS */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 1100px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1100;
}

.nav-item.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-column-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

.mega-column ul {
  list-style: none;
}

.mega-column ul li {
  margin-bottom: 0.35rem;
}

.mega-column ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mega-column ul li a:hover {
  color: var(--primary-blue);
}

/* HEADER CALL CTA BUTTON */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue);
  color: var(--bg-white) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
  transition: all 0.2s ease;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* HERO SECTION (MASTER HOMEPAGE LAYOUT APPLIED SITE-WIDE) */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--bg-white);
  padding: 4rem 0;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent-cyan);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-cyan);
  color: var(--primary-dark) !important;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--bg-white);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  color: var(--bg-white) !important;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 4px solid rgba(255,255,255,0.2);
  max-height: 380px;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION HEADINGS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* 50/50 TWO IMAGE GRID AFTER EVERY 2 H2 SECTIONS */
.image-grid-50-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.image-grid-50-50 img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid-50-50 img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* SERVICES GRID WITH IMAGE BACKGROUNDS */
.services-section {
  padding: 5rem 0;
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card-bg {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,50,86,0.35) 0%, rgba(10,50,86,0.92) 100%);
  transition: opacity 0.3s ease;
}

.service-card-bg:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card-bg:hover::before {
  background: linear-gradient(180deg, rgba(10,50,86,0.2) 0%, rgba(10,50,86,0.96) 100%);
}

.service-card-bg-content {
  position: relative;
  z-index: 2;
}

.service-card-bg-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card-bg-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--bg-white);
}

.service-card-bg h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--bg-white);
}

.service-card-bg p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card-bg .nav-link {
  color: var(--accent-cyan);
  font-weight: 700;
}

.service-card-bg .nav-link:hover {
  color: var(--bg-white);
}

/* GALLERY / IMAGE GRID FOR 3+ IMAGES PER PAGE */
.page-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.page-gallery-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 220px;
}

.page-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* INTERACTIVE BEFORE & AFTER SLIDER */
.before-after-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.ba-slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
}

.ba-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.ba-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--bg-white);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 10;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--primary-blue);
  color: var(--bg-white);
  border: 3px solid var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-size: 0.9rem;
}

.ba-card-body {
  padding: 1.5rem;
}

.ba-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.ba-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* TESTIMONIALS CAROUSEL */
.testimonials-section {
  padding: 5.5rem 0 6.5rem 0;
  margin-bottom: 4rem;
  background: var(--primary-dark);
  color: var(--bg-white);
  overflow: hidden;
}

.testimonials-section .section-title {
  color: var(--bg-white);
}

.testimonial-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollLeft 35s linear infinite;
}

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

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  width: 380px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  flex-shrink: 0;
}

.stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-details p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  color: var(--bg-white);
  margin: 4rem 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  opacity: 0.92;
}

/* GLOBAL FOOTER */
.site-footer {
  background: #071e33;
  color: rgba(255,255,255,0.8);
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0;
  color: rgba(255,255,255,0.65);
}

.footer-lic {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.contact-info-list svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* OFFICIAL BRAND COLOR SOCIAL BUTTONS */
.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.social-icon-btn.fb {
  background-color: #1877F2;
}

.social-icon-btn.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon-btn.x {
  background-color: #000000;
  border: 1px solid rgba(255,255,255,0.2);
}

.social-icon-btn.yt {
  background-color: #FF0000;
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* OFFICIAL BRAND PAYMENT LOGOS IN FOOTER */
.payment-methods-box {
  margin-top: 1.25rem;
}

.payment-methods-box h5 {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-logos-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.payment-logo-card {
  width: 44px;
  height: 28px;
  background: #ffffff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.payment-logo-card:hover {
  transform: translateY(-2px);
}

.payment-logo-card svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  background: #041220;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-dropdown {
    width: 90vw;
    left: -50px;
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu {
    width: 90vw;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .services-dropdown, .mega-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    grid-template-columns: 1fr;
  }

  .nav-item.has-dropdown.active .services-dropdown,
  .nav-item.has-mega.active .mega-menu {
    display: grid;
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .image-grid-50-50 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .image-grid-50-50 img {
    height: 220px;
  }

  .ba-slider-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 1.15rem;
  }
}


/* HOME PAGE SPECIFIC H2 SECTION VERTICAL SPACING */
.home-page main article h2 {
  margin-top: 3.75rem;
  margin-bottom: 1.25rem;
}

.home-page main article > h2:first-child,
.home-page main article > h2:first-of-type {
  margin-top: 0;
}

/* BLOG SYSTEM RESPONSIVE CARD LAYOUT & SINGLE POST STYLES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

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

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

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: var(--primary-dark);
}

.blog-card-title a:hover {
  color: var(--primary-blue);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-blue);
  align-self: flex-start;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-card-btn:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* SINGLE BLOG ARTICLE NAV */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  max-width: 45%;
}

.post-nav-item.next {
  text-align: right;
  margin-left: auto;
}

.post-nav-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.post-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1.3;
}

.post-nav-title:hover {
  color: var(--accent-cyan);
}

/* HERO TRUST BADGES (TRUSTPILOT & GOOGLE REVIEWS) */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  pointer-events: none;
  user-select: none;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.trustpilot-badge {
  border-color: rgba(0, 182, 122, 0.4);
}

.trustpilot-star-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.google-g-logo {
  flex-shrink: 0;
}

.badge-brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.82rem;
}

.badge-stars {
  font-size: 0.85rem;
  letter-spacing: 1px;
  line-height: 1;
}

.badge-score {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
  margin-left: 0.1rem;
}

@media (max-width: 600px) {
  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* FLOATING CIRCULAR GREEN PHONE CTA ICON */
.floating-phone-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.floating-phone-btn:hover {
  background-color: #1eb956;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
}

.floating-phone-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  pointer-events: none;
}

@media (max-width: 600px) {
  .floating-phone-btn {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
  .floating-phone-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* ====================================================================
   MOBILE HEADER & NAVIGATION REFINEMENTS
   ==================================================================== */
@media (max-width: 768px) {
  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo-img-small {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .brand-name-bold {
    font-size: 1.15rem;
    font-weight: 800;
  }

  .header-phone-btn {
    font-size: 0.82rem;
    padding: 6px 12px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(30, 58, 138, 0.15);
    cursor: pointer;
    margin-left: 8px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #1e3a8a;
  }
}