/*
Theme Name: Preferred Plus Services
Theme URI: https://preferredplusservices.com
Author: Preferred Plus Services
Author URI: https://preferredplusservices.com
Description: Professional home repair theme for Preferred Plus Services - HVAC, Plumbing, Heating, Air Conditioning, Electrical and more. Serving Union County, NJ.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: preferred-plus
Tags: custom-menu, custom-logo, featured-images, one-column, two-columns
*/

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
  --pp-blue: #002B5C;
  --pp-blue-dark: #001D3D;
  --pp-blue-light: #003F7D;
  --pp-red: #B71C1C;
  --pp-red-dark: #8E0000;
  --pp-red-light: #D32F2F;
  --pp-orange: #B71C1C;
  --pp-orange-dark: #8E0000;
  --pp-orange-light: #D32F2F;
  --pp-white: #FFFFFF;
  --pp-gray-50: #F8F9FA;
  --pp-gray-100: #F0F2F5;
  --pp-gray-200: #E0E4E8;
  --pp-gray-300: #C8CDD3;
  --pp-gray-600: #6B7280;
  --pp-gray-800: #2D3748;
  --pp-gray-900: #1A202C;
  --pp-gold: #F5A623;
  --pp-green: #27AE60;
  --pp-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --pp-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --pp-radius: 4px;
  --pp-radius-lg: 8px;
  --pp-transition: all 0.3s ease;
  --pp-font-heading: 'Montserrat', sans-serif;
  --pp-font-body: 'Open Sans', sans-serif;
  --pp-container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--pp-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pp-gray-800);
  background: var(--pp-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--pp-transition);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pp-font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: var(--pp-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--pp-blue-dark);
  color: var(--pp-white);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__left a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar__left a:hover {
  color: var(--pp-orange);
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__right a {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar__right a:hover {
  color: var(--pp-orange);
}

.top-bar__social {
  display: flex;
  gap: 10px;
  margin-left: 10px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.top-bar__social a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.top-bar__social a:hover {
  color: var(--pp-orange);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  background: var(--pp-white);
  box-shadow: var(--pp-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--pp-container);
  margin: 0 auto;
  height: 70px;
}

.site-logo {
  flex-shrink: 0;
  max-width: 160px;
}

.site-logo img,
.site-logo .custom-logo {
  height: 50px;
  width: auto;
  max-height: 50px;
  object-fit: contain;
}

/* WordPress wraps custom-logo in a link with this class */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo-link img {
  height: 50px;
  width: auto;
  max-height: 50px;
  object-fit: contain;
}

.site-logo .logo-text {
  font-family: var(--pp-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--pp-blue);
  line-height: 1.1;
}

.site-logo .logo-text span {
  color: var(--pp-orange);
}

.site-logo .logo-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pp-gray-600);
  font-weight: 600;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 28px 14px;
  font-family: var(--pp-font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pp-gray-800);
  position: relative;
  white-space: nowrap;
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--pp-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.current-menu-item > a::after {
  transform: scaleX(1);
}

.main-nav > ul > li > a:hover {
  color: var(--pp-blue);
}

/* Dropdown arrow */
.main-nav > ul > li.menu-item-has-children > a::before {
  content: '▾';
  margin-left: 4px;
  font-size: 10px;
}

/* Hide mobile arrow on desktop */
.mobile-arrow {
  display: none;
}

/* Dropdown menus */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--pp-white);
  min-width: 240px;
  box-shadow: var(--pp-shadow-lg);
  border-top: 3px solid var(--pp-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--pp-transition);
  z-index: 100;
}

.main-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--pp-gray-800);
  border-bottom: 1px solid var(--pp-gray-100);
  font-weight: 500;
}

.main-nav .sub-menu li a:hover {
  background: var(--pp-gray-50);
  color: var(--pp-orange);
  padding-left: 26px;
}

/* Header CTA buttons */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--pp-font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  border-radius: var(--pp-radius);
  cursor: pointer;
  transition: var(--pp-transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--pp-orange);
  color: var(--pp-white);
  border-color: var(--pp-orange);
}

.btn-primary:hover {
  background: var(--pp-orange-dark);
  border-color: var(--pp-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 38, 0.4);
}

.btn-secondary {
  background: var(--pp-blue);
  color: var(--pp-white);
  border-color: var(--pp-blue);
}

.btn-secondary:hover {
  background: var(--pp-blue-dark);
  border-color: var(--pp-blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--pp-blue);
  border-color: var(--pp-blue);
}

.btn-outline:hover {
  background: var(--pp-blue);
  color: var(--pp-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--pp-white);
  border-color: var(--pp-white);
}

.btn-outline-white:hover {
  background: var(--pp-white);
  color: var(--pp-blue);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn svg, .btn i {
  font-size: 16px;
}

/* Location bar */
.location-bar {
  background: var(--pp-gray-50);
  border-bottom: 1px solid var(--pp-gray-200);
  padding: 10px 0;
}

.location-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-bar__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-blue);
}

.location-bar__info svg {
  color: var(--pp-orange);
}

.location-bar__ctas {
  display: flex;
  gap: 10px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--pp-blue);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--pp-transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--pp-blue) 0%, var(--pp-blue-dark) 100%);
  min-height: 520px;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: 520px;
  position: relative;
  z-index: 2;
}

.hero__image {
  flex: 0 0 50%;
  position: relative;
}

.hero__image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.hero__content {
  flex: 0 0 50%;
  padding: 60px 40px 60px 60px;
  color: var(--pp-white);
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero__title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.9);
}

.hero__subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--pp-orange);
  margin-bottom: 16px;
}

.hero__phone {
  font-family: var(--pp-font-heading);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1;
}

.hero__phone a {
  color: var(--pp-white);
}

.hero__phone a:hover {
  color: var(--pp-orange);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.hero__rating-text {
  font-size: 12px;
  opacity: 0.8;
}

.hero__stars {
  color: var(--pp-gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.hero__rating-number {
  font-size: 20px;
  font-weight: 800;
}

/* Hero background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
  background-size: 30px 30px;
  z-index: 1;
}

/* ========================================
   PROMO BANNER
   ======================================== */
.promo-banner {
  background: var(--pp-orange);
  color: var(--pp-white);
  text-align: center;
  padding: 14px 20px;
  font-family: var(--pp-font-heading);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--pp-transition);
}

.promo-banner:hover {
  background: var(--pp-orange-dark);
}

.promo-banner a {
  color: var(--pp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.promo-banner svg {
  transition: transform 0.3s ease;
}

.promo-banner:hover svg {
  transform: translateX(4px);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
  padding: 80px 0;
  background: var(--pp-white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header__label {
  display: inline-block;
  font-family: var(--pp-font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pp-orange);
  margin-bottom: 10px;
}

.section-header__title {
  font-size: 36px;
  color: var(--pp-blue);
  margin-bottom: 16px;
}

.section-header__subtitle {
  font-size: 18px;
  color: var(--pp-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--pp-white);
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius-lg);
  padding: 35px 30px;
  text-align: center;
  transition: var(--pp-transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pp-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pp-shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--pp-gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--pp-transition);
}

.service-card:hover .service-card__icon {
  background: var(--pp-orange);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--pp-orange);
  transition: var(--pp-transition);
}

.service-card:hover .service-card__icon svg {
  fill: var(--pp-white);
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--pp-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-card__desc {
  font-size: 14px;
  color: var(--pp-gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card__link {
  font-family: var(--pp-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--pp-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link:hover {
  gap: 10px;
  color: var(--pp-blue);
}

/* ========================================
   TRUST / WHY US SECTION
   ======================================== */
.trust-section {
  padding: 50px 0;
  background: var(--pp-blue);
  color: var(--pp-white);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.trust-section .container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.trust-left {
  flex: 0 0 45%;
}

.trust-left__title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
}

.trust-left__subtitle {
  font-size: 18px;
  color: var(--pp-orange);
  font-weight: 600;
  margin-bottom: 24px;
}

.trust-left__open {
  font-size: 42px;
  font-weight: 900;
  font-family: var(--pp-font-heading);
  margin-bottom: 30px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.trust-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--pp-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

/* Larger variant for slim horizontal trust section */
.trust-list--lg li {
  font-size: 17px;
  gap: 14px;
  line-height: 1.6;
}

.trust-list--lg li::before {
  width: 30px;
  height: 30px;
  font-size: 14px;
  margin-top: 1px;
}

.trust-right {
  flex: 1;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-feature {
  display: block;
  padding: 24px 30px;
  border-left: 4px solid transparent;
  transition: var(--pp-transition);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: inherit;
}

a.trust-feature {
  display: block;
}

a.trust-feature:hover {
  text-decoration: none;
}

.trust-feature:hover,
.trust-feature.active {
  border-left-color: var(--pp-orange);
  background: rgba(255,255,255,0.05);
}

.trust-feature__label {
  font-family: var(--pp-font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pp-orange);
  margin-bottom: 8px;
}

.trust-feature__text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

/* ========================================
   FAQ / VIDEO SECTION
   ======================================== */
.faq-section {
  padding: 80px 0;
  background: var(--pp-gray-50);
}

.faq-section .container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.faq-left {
  flex: 1;
}

.faq-left__title {
  font-size: 32px;
  color: var(--pp-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.faq-left__text {
  font-size: 16px;
  color: var(--pp-gray-600);
  margin-bottom: 30px;
  line-height: 1.7;
}

.faq-item {
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius);
  margin-bottom: 12px;
  background: var(--pp-white);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--pp-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--pp-gray-800);
  transition: var(--pp-transition);
}

.faq-item__question:hover {
  color: var(--pp-orange);
}

.faq-item__icon {
  font-size: 20px;
  color: var(--pp-orange);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--pp-gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-item__answer {
  display: block;
}

.faq-right {
  flex: 0 0 45%;
}

.video-card {
  border-radius: var(--pp-radius-lg);
  overflow: hidden;
  box-shadow: var(--pp-shadow-lg);
}

.video-card__embed {
  position: relative;
  padding-top: 56.25%;
  background: var(--pp-gray-900);
}

.video-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-card__info {
  padding: 20px 24px;
  background: var(--pp-white);
}

.video-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pp-blue);
}

/* ========================================
   REVIEWS / TESTIMONIALS
   ======================================== */
.reviews-section {
  padding: 80px 0;
  background: var(--pp-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Trust Index Widget */
.trustindex-widget {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.trustindex-widget > div,
.trustindex-widget iframe {
  max-width: 100% !important;
}

.review-card {
  background: var(--pp-white);
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius-lg);
  padding: 30px;
  transition: var(--pp-transition);
}

.review-card:hover {
  box-shadow: var(--pp-shadow-lg);
  border-color: transparent;
}

.review-card__stars {
  color: var(--pp-gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pp-gray-600);
  margin-bottom: 20px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pp-blue);
  color: var(--pp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pp-font-heading);
  font-weight: 700;
  font-size: 16px;
}

.review-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--pp-gray-800);
}

.review-card__source {
  font-size: 12px;
  color: var(--pp-gray-600);
}

/* ========================================
   CTA BANNER / CAREERS
   ======================================== */
.cta-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--pp-orange) 0%, var(--pp-orange-dark) 100%);
  color: var(--pp-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') repeat;
  background-size: 40px 40px;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner__tagline {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.cta-banner__title {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--pp-gray-900);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: var(--pp-white);
  font-size: 20px;
}

.footer-brand__text {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.75;
}

.footer-brand__phone {
  font-family: var(--pp-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--pp-orange);
  margin-bottom: 20px;
}

.footer-brand__phone a:hover {
  color: var(--pp-orange-light);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--pp-transition);
}

.footer-social a:hover {
  background: var(--pp-orange);
  border-color: var(--pp-orange);
  color: var(--pp-white);
}

.footer-col__title {
  font-family: var(--pp-font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pp-white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  opacity: 0.7;
  transition: var(--pp-transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--pp-orange);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

.footer-bottom__links {
  display: flex;
  gap: 20px;
}

.footer-bottom__links a:hover {
  color: var(--pp-orange);
  opacity: 1;
}

/* ========================================
   SERVICE AREAS
   ======================================== */
.areas-section {
  padding: 60px 0;
  background: var(--pp-gray-50);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--pp-white);
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--pp-gray-800);
  transition: var(--pp-transition);
}

.area-tag:hover {
  border-color: var(--pp-orange);
  color: var(--pp-orange);
  transform: translateY(-2px);
  box-shadow: var(--pp-shadow);
}

.area-tag svg {
  color: var(--pp-orange);
  flex-shrink: 0;
}

/* ========================================
   FINANCING SECTION
   ======================================== */
.financing-section {
  padding: 80px 0;
  background: var(--pp-white);
}

.financing-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.financing-content {
  flex: 1;
}

.financing-image {
  flex: 0 0 40%;
  border-radius: var(--pp-radius-lg);
  overflow: hidden;
  box-shadow: var(--pp-shadow-lg);
}

/* ========================================
   PAGE TEMPLATES
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--pp-blue) 0%, var(--pp-blue-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--pp-white);
}

.page-banner__title {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-banner__breadcrumb {
  font-size: 14px;
  opacity: 0.7;
}

.page-banner__breadcrumb a {
  color: var(--pp-orange);
  opacity: 1;
}

.page-content {
  padding: 60px 0;
}

.page-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content .entry-content h2 {
  font-size: 28px;
  color: var(--pp-blue);
  margin-top: 40px;
  margin-bottom: 16px;
}

.page-content .entry-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--pp-gray-600);
}

/* ========================================
   SIDEBAR / WIDGETS
   ======================================== */
.sidebar-cta {
  background: var(--pp-blue);
  color: var(--pp-white);
  padding: 30px;
  border-radius: var(--pp-radius-lg);
  text-align: center;
  margin-bottom: 30px;
}

.sidebar-cta__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.sidebar-cta__phone {
  font-size: 28px;
  font-weight: 900;
  color: var(--pp-orange);
  margin-bottom: 16px;
}

/* ========================================
   HORIZONTAL SCROLL GALLERY
   ======================================== */
.gallery-section {
  padding: 80px 0;
  background: var(--pp-white);
  overflow: hidden;
}

.gallery-scroll {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 20px;
}

.gallery-scroll__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--pp-blue) var(--pp-gray-100);
  padding-bottom: 16px;
}

.gallery-scroll__track::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll__track::-webkit-scrollbar-track {
  background: var(--pp-gray-100);
  border-radius: 4px;
}

.gallery-scroll__track::-webkit-scrollbar-thumb {
  background: var(--pp-blue);
  border-radius: 4px;
}

.gallery-scroll__item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--pp-radius-lg);
  overflow: hidden;
}

.gallery-scroll__link {
  display: block;
  position: relative;
  width: 300px;
  height: 220px;
  overflow: hidden;
  border-radius: var(--pp-radius-lg);
}

.gallery-scroll__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-scroll__link:hover .gallery-scroll__img {
  transform: scale(1.08);
}

.gallery-scroll__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-scroll__link:hover .gallery-scroll__overlay {
  opacity: 1;
}

.gallery-scroll__caption {
  color: var(--pp-white);
  font-family: var(--pp-font-heading);
  font-size: 14px;
  font-weight: 600;
}

.gallery-scroll__overlay i {
  color: var(--pp-white);
  font-size: 18px;
}

.gallery-scroll__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--pp-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--pp-transition);
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--pp-radius-lg);
}

.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--pp-white);
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  padding: 10px;
}

.gallery-lightbox__caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--pp-white);
  font-family: var(--pp-font-heading);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* Gallery page grid */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-page-item {
  border-radius: var(--pp-radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-page-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-page-item:hover .gallery-page-item__overlay {
  opacity: 1;
}

.gallery-page-item__title {
  color: var(--pp-white);
  font-family: var(--pp-font-heading);
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   RESPONSIVE
   ========================================*/

/* Global overflow fix */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

*, *::before, *::after {
  max-width: 100%;
}

/* Exempt nav items from max-width so white-space nowrap works */
.main-nav, .main-nav *, .header-ctas, .header-ctas * {
  max-width: none;
}

.container {
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav.active {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--pp-white);
    box-shadow: var(--pp-shadow-lg);
    border-top: 3px solid var(--pp-orange);
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }

  .main-nav.active > ul {
    flex-direction: column;
  }

  .main-nav.active > ul > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--pp-gray-100);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Submenus collapsed by default on mobile */
  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--pp-gray-50);
    min-width: 0;
    display: none;
  }

  /* Show submenu when parent has .mobile-open */
  .main-nav .menu-item-has-children.mobile-open > .sub-menu {
    display: block;
  }

  .main-nav .sub-menu li a {
    padding: 10px 20px 10px 36px;
    font-size: 13px;
    border-bottom: 1px solid var(--pp-gray-200);
  }

  /* Arrow indicator for parent items - hide desktop arrow */
  .main-nav > ul > li.menu-item-has-children > a::before {
    display: none;
  }

  .main-nav > ul > li > a::after {
    display: none;
  }

  .main-nav .mobile-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 12px;
    color: var(--pp-gray-600);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .menu-item-has-children.mobile-open > a .mobile-arrow {
    transform: rotate(180deg);
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero__image {
    flex: none;
    width: 100%;
    max-height: 250px;
    overflow: hidden;
  }

  .hero__content {
    flex: none;
    padding: 40px 20px;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .trust-section .container {
    flex-direction: column;
  }

  .trust-left {
    flex: none;
    width: 100%;
  }

  .trust-right {
    width: 100%;
  }

  .faq-section .container {
    flex-direction: column;
  }

  .faq-right {
    flex: none;
    width: 100%;
  }

  .faq-left {
    width: 100%;
  }

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

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

  .financing-section .container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .header-main {
    height: 60px;
    padding: 0 12px;
  }

  .site-logo {
    max-width: 120px;
  }

  .site-logo img,
  .site-logo .custom-logo,
  .custom-logo-link img {
    height: 38px;
    max-height: 38px;
  }

  .site-logo .logo-text {
    font-size: 16px;
  }

  .site-logo .logo-tagline {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .main-nav.active {
    top: 60px;
  }

  .header-ctas .btn span {
    display: none;
  }

  .header-ctas .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .header-ctas {
    gap: 6px;
  }

  .location-bar {
    padding: 8px 0;
  }

  .location-bar .container {
    justify-content: center;
  }

  .location-bar__info {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    min-height: auto;
  }

  .hero__phone {
    font-size: 32px;
  }

  .hero__content {
    padding: 30px 16px;
  }

  .hero__title {
    font-size: 15px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero__rating {
    justify-content: center;
  }

  .promo-banner {
    font-size: 12px;
    padding: 12px 16px;
    letter-spacing: 0.5px;
  }

  .section-header__title {
    font-size: 24px;
  }

  .section-header__subtitle {
    font-size: 15px;
  }

  .services-section {
    padding: 50px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .trust-section {
    padding: 50px 0;
  }

  .trust-left__title {
    font-size: 24px;
  }

  .trust-left__open {
    font-size: 32px;
  }

  .trust-list li {
    font-size: 14px;
  }

  .faq-section {
    padding: 50px 0;
  }

  .faq-left__title {
    font-size: 24px;
  }

  .reviews-section {
    padding: 50px 0;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .areas-section {
    padding: 40px 0;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .area-tag {
    padding: 10px 14px;
    font-size: 13px;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner__title {
    font-size: 24px;
  }

  .cta-banner__tagline {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-brand__phone {
    font-size: 20px;
  }

  .page-banner {
    padding: 40px 0;
  }

  .page-banner__title {
    font-size: 28px;
  }

  /* Gallery mobile */
  .gallery-section {
    padding: 50px 0;
  }

  .gallery-scroll__item {
    flex: 0 0 250px;
  }

  .gallery-scroll__link {
    width: 250px;
    height: 180px;
  }

  .gallery-scroll__overlay {
    opacity: 1;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.6));
  }

  .gallery-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .gallery-lightbox__img {
    max-width: 95%;
    max-height: 80vh;
  }

  /* Trust widget on mobile */
  .hero__trust-widget {
    max-width: 100% !important;
  }

  .trustindex-widget-mini,
  .trustindex-widget {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Single post sidebar stacks on mobile */
  .page-content .container[style*="display:flex"] {
    flex-direction: column !important;
  }

  .page-content .container[style*="display:flex"] > aside {
    flex: none !important;
    width: 100% !important;
  }

  .sidebar-cta__phone {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero__phone {
    font-size: 28px;
  }

  .hero__content {
    padding: 24px 14px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header__title {
    font-size: 22px;
  }

  .trust-left__title {
    font-size: 20px;
  }

  .trust-left__open {
    font-size: 28px;
  }

  .cta-banner__title {
    font-size: 20px;
  }

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

  .review-card {
    padding: 20px;
  }

  .footer-top {
    gap: 24px;
  }

  .page-banner__title {
    font-size: 22px;
  }
}

/* ========================================
   WORDPRESS CORE STYLES
   ======================================== */
.wp-block-image {
  margin: 20px 0;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  margin: 0;
}

/* Comments */
.comments-area {
  margin-top: 40px;
}

.comment-list {
  margin-bottom: 30px;
}

.comment-body {
  padding: 20px;
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius);
  margin-bottom: 20px;
}

.comment-author {
  font-weight: 700;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.pagination .page-numbers {
  padding: 8px 16px;
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius);
  font-weight: 600;
}

.pagination .page-numbers.current {
  background: var(--pp-blue);
  color: var(--pp-white);
  border-color: var(--pp-blue);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--pp-gray-200);
  border-radius: var(--pp-radius);
  font-family: var(--pp-font-body);
  font-size: 14px;
  transition: var(--pp-transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--pp-blue);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

/* Contact Form */
.contact-form {
  background: var(--pp-white);
  padding: 40px;
  border-radius: var(--pp-radius-lg);
  box-shadow: var(--pp-shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--pp-gray-800);
}

/* Coupon Cards */
.coupon-card {
  background: var(--pp-white);
  border: 2px dashed var(--pp-orange);
  border-radius: var(--pp-radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--pp-transition);
}

.coupon-card:hover {
  border-style: solid;
  box-shadow: var(--pp-shadow-lg);
}

.coupon-card__amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--pp-orange);
  font-family: var(--pp-font-heading);
}

.coupon-card__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--pp-blue);
  margin-bottom: 10px;
}

.coupon-card__terms {
  font-size: 12px;
  color: var(--pp-gray-600);
}
