/*
Theme Name: EM Construction
Theme URI: https://emconstructioncorp.com
Author: EM Construction Corp.
Author URI: https://emconstructioncorp.com
Description: Custom WordPress theme for EM Construction Corp. — Waterproofing Experts in NY & NJ. Gold & black luxury construction aesthetic with GSAP animations and Swiper sliders.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: em-construction
Tags: construction, one-page, responsive, custom-colors, custom-menu
*/

/* ──────────────────────────────────────────────────────────────
   1. FONTS
────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ──────────────────────────────────────────────────────────────
   2. CSS CUSTOM PROPERTIES (Design Tokens)
────────────────────────────────────────────────────────────── */
:root {
  --color-primary:       #DAA520;
  --color-primary-dark:  #B8860B;
  --color-primary-light: #FFDF00;
  --color-accent:        #FFD700;
  --color-secondary:     #000000;
  --color-secondary-light: #333333;
  --color-neutral:       #FFFFFF;
  --color-neutral-gray:  #F5F5F5;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;

  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  --transition-base: 200ms ease;
  --transition-med:  300ms ease;
}

/* ──────────────────────────────────────────────────────────────
   3. RESET / BASE
────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1f2937;
  background-color: var(--color-neutral);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, iframe {
  max-width: 100%;
  display: block;
}

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

ul, ol { list-style: none; }

/* ──────────────────────────────────────────────────────────────
   4. TYPOGRAPHY
────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); line-height: 1.2; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.4; }

p { line-height: 1.75; color: #4b5563; }

/* ──────────────────────────────────────────────────────────────
   5. LAYOUT UTILITIES
────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-pad { padding-block: 6rem; }

/* ──────────────────────────────────────────────────────────────
   6. COMPONENT UTILITIES
────────────────────────────────────────────────────────────── */

/* Section header pattern */
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-label .rule {
  height: 1px;
  width: 2.5rem;
  background-color: var(--color-primary);
}

.section-label .rule--accent { background-color: var(--color-accent); }

.section-label span {
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-label span.accent { color: var(--color-accent); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-med);
}

.btn-primary:hover { background-color: var(--color-primary-dark); color: var(--color-secondary); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: border-color var(--transition-med), color var(--transition-med);
}

.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn-ghost--dark {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-ghost--dark:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

/* ──────────────────────────────────────────────────────────────
   8. NAVIGATION
────────────────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #fff;
  color: #111827;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo__img {
  height: 5.5rem; /* Increased height for header */
  width: auto;
  display: block;
}

/* Desktop nav */
.nav__desktop {
  display: none;
  align-items: center;
  gap: 0;
}

@media (min-width: 768px) {
  .nav__desktop { display: flex; }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  color: #111827;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-base);
}

.nav-link:hover { color: var(--color-primary-dark); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--color-primary-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link--cta {
  margin-left: 1rem;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  transition: background-color var(--transition-med);
}

.nav-link--cta:hover {
  color: var(--color-secondary);
  background-color: var(--color-primary-dark);
}

.nav-link--cta::after { display: none; }

/* Mobile hamburger */
.nav__hamburger {
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

.nav__hamburger button {
  background: none;
  border: none;
  color: #111827;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-base);
}

.nav__hamburger button:hover { color: var(--color-primary-dark); }

/* Mobile menu */
.nav__mobile {
  display: none;
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.nav__mobile.is-open { display: block; }

.nav__mobile-links {
  padding: 0.5rem 1rem 1rem;
}

.nav__mobile-links a {
  display: block;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-base), background-color var(--transition-base);
}

.nav__mobile-links a:hover { color: var(--color-primary-dark); background-color: #f9fafb; }

.nav__mobile-links a.cta {
  margin-top: 0.5rem;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  text-align: center;
  font-weight: 700;
}

.nav__mobile-links a.cta:hover { background-color: var(--color-primary-dark); color: var(--color-secondary); }

/* ──────────────────────────────────────────────────────────────
   9. HERO SLIDER
────────────────────────────────────────────────────────────── */
#hero { position: relative; min-height: 92vh; }

.hero-swiper {
  width: 100%;
  min-height: 92vh;
}

.hero-swiper .swiper-slide {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.30) 100%);
}

.hero-overlay--dark {
  background: linear-gradient(to right, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.70) 55%, rgba(0,0,0,0.35) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-block: 5rem;
}

.hero-content { max-width: 48rem; }

/* GSAP sets these — keep opacity:0 to prevent FOUC */
.hero-label,
.hero-heading,
.hero-sub,
.hero-cta,
.hero-badges {
  opacity: 0;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-label .rule {
  height: 1px;
  width: 3rem;
  background-color: var(--color-accent);
}

.hero-label span {
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-heading .accent { color: var(--color-accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #d1d5db;
  line-height: 1.7;
  font-weight: 300;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  font-size: 0.875rem;
}

.hero-badge i { color: var(--color-accent); }

/* Pagination */
.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #FFD700 !important;
  width: 28px !important;
  border-radius: 4px !important;
}

/* Nav arrows */
.hero-prev,
.hero-next {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important;
  width: 3rem !important;
  height: 3rem !important;
  background-color: rgba(0,0,0,0.3);
  color: #fff !important;
  transition: background-color var(--transition-med);
}

.hero-prev:hover,
.hero-next:hover { background-color: rgba(255,215,0,0.8); }

.hero-prev::after,
.hero-next::after {
  font-size: 1rem !important;
  font-weight: 900 !important;
}

/* Slide counter */
#hero-counter {
  position: absolute;
  bottom: 3.5rem;
  right: 1.5rem;
  z-index: 20;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  user-select: none;
}

@media (min-width: 768px) { #hero-counter { right: 2.5rem; } }

#hero-counter .sep { color: rgba(255,215,0,0.6); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 20;
  pointer-events: none;
  will-change: transform;
}

/* ──────────────────────────────────────────────────────────────
   10. STATS STRIP
────────────────────────────────────────────────────────────── */
.stats-strip {
  background-color: var(--color-accent);
  padding-block: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

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

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.stat__label {
  display: block;
  color: rgba(0,0,0,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ──────────────────────────────────────────────────────────────
   11. SERVICES SECTION
────────────────────────────────────────────────────────────── */
#services {
  padding-top: 6rem;
  background-color: var(--color-neutral-gray);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding-inline: var(--container-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-bottom: 4px;
}

@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.services-grid--6col {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 4px;
}

@media (min-width: 768px) { .services-grid--6col { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .services-grid--6col { grid-template-columns: repeat(6, 1fr); } }

/* Service card */
.service-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  display: block;
  height: 20rem;
}

.service-card--md { height: 18rem; }
.service-card--sm { height: 12rem; }

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.service-card:hover img { transform: scale(1.1); }

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.30) 60%, transparent 100%);
  transition: background 300ms ease;
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.50) 60%, transparent 100%);
}

.service-card__body {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--color-neutral);
}

.service-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: background-color var(--transition-med);
}

.service-card:hover .service-card__icon { background-color: rgba(255,215,0,0.35); }

.service-card__icon i { color: var(--color-accent); font-size: 0.875rem; }

.service-card h3 {
  font-size: 1.25rem;
  color: var(--color-neutral);
  margin-bottom: 0.5rem;
}

.service-card h3.sm { font-size: 1rem; }

.service-card__hover {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 300ms ease, max-height 300ms ease;
}

.service-card:hover .service-card__hover {
  opacity: 1;
  max-height: 5rem;
}

.service-card__hover p {
  font-size: 0.875rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.service-card__learn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA card */
.service-card--cta {
  background-color: var(--color-secondary);
}

.service-card--cta-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,134,11,0.25) 0%, rgba(0,0,0,1) 100%);
}

.service-card--cta-body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.service-card--cta-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 300ms ease;
}

.service-card--cta:hover .service-card--cta-icon { transform: scale(1.1); }

.service-card--cta-icon i { color: var(--color-secondary); font-size: 1.5rem; }

/* ──────────────────────────────────────────────────────────────
   12. ABOUT SECTION
────────────────────────────────────────────────────────────── */
#about {
  padding-block: 6rem;
  background-color: var(--color-secondary);
  color: var(--color-neutral);
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about__inner { flex-direction: row; }
}

.about__image-col {
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .about__image-col { width: 50%; }
}

.about__image-col img {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  height: 32.5rem;
  width: 100%;
  object-fit: cover;
}

.about__badge {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--color-primary-dark);
  color: var(--color-neutral);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

@media (min-width: 1024px) { .about__badge { display: block; } }

.about__badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.about__badge-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.about__text-col {
  width: 100%;
}

@media (min-width: 1024px) {
  .about__text-col { width: 50%; }
}

.about__text-col > * + * { margin-top: 1.5rem; }

.about__text-col h2 { color: #ffffff; }

.about__text-col p {
  color: #d1d5db;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Feature cards */
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .about-features { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background-color: rgba(255,255,255,0.05);
  border-left: 4px solid var(--color-accent);
  transition: background-color var(--transition-base);
}

.feature-card:hover {
  background-color: rgba(255,255,255,0.08);
}

.feature-card i {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.feature-card h4 {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
}

.about__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

/* ──────────────────────────────────────────────────────────────
   13. FEATURED PROJECTS
────────────────────────────────────────────────────────────── */
#projects {
  padding-block: 6rem;
  background-color: var(--color-neutral-gray);
}

.projects-swiper {
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  position: relative;
}

.projects-swiper .swiper-slide {
  position: relative;
  height: 32.5rem;
}

.projects-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.40) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 3rem;
}

.project-category {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  width: max-content;
}

.project-info h3 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-neutral);
  margin-bottom: 0.75rem;
}

.project-info p {
  color: #d1d5db;
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 40rem;
}

/* ──────────────────────────────────────────────────────────────
   14. TESTIMONIALS
────────────────────────────────────────────────────────────── */
.testimonials-section {
  padding-block: 6rem;
  background-color: var(--color-neutral);
}

.testimonials-swiper { padding-bottom: 3.5rem; }

.testimonial-card {
  background-color: var(--color-neutral-gray);
  padding: 2rem;
  position: relative;
  border-bottom: 4px solid var(--color-accent);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card__quote-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3rem;
  color: rgba(218,165,32,0.12);
  z-index: 0;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-card__stars i { color: var(--color-accent); font-size: 0.875rem; }

.testimonial-card__quote {
  color: var(--color-secondary-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.25rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.testimonial-card__location {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ──────────────────────────────────────────────────────────────
   15. WHY CHOOSE US
────────────────────────────────────────────────────────────── */
.why-us-section {
  background-color: var(--color-secondary);
  padding-block: 5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

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

@media (min-width: 768px) { .why-us-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-us-grid { grid-template-columns: repeat(4, 1fr); } }

.why-us-item { text-align: center; }

.why-us-item__icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-med);
}

.why-us-item:hover .why-us-item__icon { background-color: rgba(255,215,0,0.18); }

.why-us-item__icon i { color: var(--color-accent); font-size: 1.5rem; }

.why-us-item h4 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.why-us-item p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   16. CONTACT SECTION
────────────────────────────────────────────────────────────── */
#contact {
  background-color: var(--color-secondary);
  color: var(--color-neutral);
}

.contact__inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .contact__inner { flex-direction: row; }
}

.contact__form-col {
  width: 100%;
  padding: 4rem var(--container-pad);
}

@media (min-width: 768px) {
  .contact__form-col {
    width: 50%;
    max-width: 40%;
    margin-left: auto;
    padding: 4rem 3rem;
  }
}

@media (min-width: 1280px) {
  .contact__form-col { padding-inline: 3rem 2rem; }
}

.contact__form-col h2 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.contact__subtitle {
  color: #9ca3af;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail a { color: inherit; }
.contact-detail a:hover .contact-detail__text { color: #ffffff; }

.contact-detail__icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-med);
}

.contact-detail:hover .contact-detail__icon { background-color: rgba(255,215,0,0.18); }

.contact-detail__icon i { color: var(--color-accent); font-size: 0.875rem; }

.contact-detail__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.125rem;
}

.contact-detail__text {
  color: #d1d5db;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid #374151;
  padding: 0.75rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder { color: #4b5563; }

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--color-accent); }

.form-select { background-color: var(--color-secondary); cursor: pointer; }

.form-textarea { resize: none; }

.form-submit {
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 1.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color var(--transition-med);
}

.form-submit:hover { background-color: var(--color-primary-dark); }

/* Map */
.contact__map-col {
  width: 100%;
  min-height: 31.25rem;
}

@media (min-width: 768px) {
  .contact__map-col { width: 50%; min-height: 43.75rem; }
}

.contact__map-col iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ──────────────────────────────────────────────────────────────
   17. TRUST BAR
────────────────────────────────────────────────────────────── */
/* ─── Trust Bar Marquee ─────────────────────────────────────── */
.trust-bar--marquee {
  background-color: #000;
  color: #fff;
  padding-block: 1rem;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: none;
}

.trust-bar--marquee .marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  animation: marquee 30s linear infinite;
}

.trust-bar--marquee .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.trust-bar--marquee .trust-item i {
  color: var(--color-primary);
  font-size: 1.125rem;
}

.trust-bar--marquee .trust-item span {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* Pause on hover */
.trust-bar--marquee:hover .marquee-content {
  animation-play-state: paused;
}

/* ──────────────────────────────────────────────────────────────
   18. PROCESS SECTION
────────────────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.process-item {
  position: relative;
  text-align: center;
}

.process-item__number {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  border: 4px solid #fff;
}

.process-item__image {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-item__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-med);
}

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

.process-item__content h3 {
  margin-bottom: 1rem;
}

/* ──────────────────────────────────────────────────────────────
   19. SERVICE AREAS
────────────────────────────────────────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.area-card {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  border-bottom: 3px solid transparent;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-bottom-color: var(--color-primary-dark);
}

.area-card__image {
  width: 100%;
  height: 12rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.25rem;
}

.area-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.area-card:hover .area-card__image img {
  transform: scale(1.08);
}

.area-card h3 {
  margin-bottom: 1rem;
}

.area-card p {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.area-card__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.area-card__link:hover {
  gap: 0.75rem;
}

/* ──────────────────────────────────────────────────────────────
   20. FAQ SECTION
────────────────────────────────────────────────────────────── */
.faq-grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-question span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: #111827;
}

.faq-question i {
  color: var(--color-primary-dark);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-inline: 1.5rem;
}

.faq-item.is-open .faq-answer {
  max-height: none; /* Allow JS to handle height or content to flow */
  padding-bottom: 1.5rem;
}

/* Ensure the transition works by having a starting point */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out, padding-bottom 0.35s ease-in-out;
  padding-inline: 1.5rem;
}

.faq-answer p {
  font-size: 0.9375rem;
}

/* ──────────────────────────────────────────────────────────────
   21. CLIENT SERVICES (Reference: nycconstructionsupers.com)
   ────────────────────────────────────────────────────────────── */
.client-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

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

@media (min-width: 1024px) {
  .client-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.client-service-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.client-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.client-service-item__image {
  width: 100%;
  height: 14rem;
  overflow: hidden;
}

.client-service-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.client-service-item:hover .client-service-item__image img {
  transform: scale(1.05);
}

.client-service-item__content {
  padding: 2rem;
  text-align: center;
}

.client-service-item__content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.client-service-item__content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4b5563;
}

/* ──────────────────────────────────────────────────────────────
   22. UTILITIES
   ────────────────────────────────────────────────────────────── */
#site-footer {
  background-color: #f9fafb;
  padding-top: 0;
  padding-bottom: 2rem;
  border-top: 1px solid #e5e7eb;
}

/* ─── Footer contact + social row ───────────────────────────── */
.footer__contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__contact-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}

.footer__contact-link:hover { color: var(--color-primary-dark); }

.footer__contact-link i {
  color: var(--color-primary-dark);
  font-size: 0.8rem;
}

.footer__contact-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.footer__contact-address i {
  color: var(--color-primary-dark);
  font-size: 0.8rem;
}

.footer__contact-socials {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}

.footer__contact-socials a {
  width: 2.125rem;
  height: 2.125rem;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-size: 0.9rem;
  transition: background-color var(--transition-med), color var(--transition-med);
}

.footer__contact-socials a:hover { background-color: var(--color-primary-dark); color: #fff; }
}

.footer__contact-socials a:hover { background-color: var(--color-accent); color: var(--color-secondary); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e5e7eb;
}

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

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Footer brand */
.footer-brand__logo { display: block; margin-bottom: 1rem; }

.footer-brand__img {
  height: 5rem; /* Increased height for footer */
  width: auto;
  display: block;
}

.footer-brand__tagline {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 0.75rem; }

.footer-socials a {
  width: 2.25rem;
  height: 2.25rem;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-size: 0.875rem;
  transition: background-color var(--transition-med), color var(--transition-med);
}

.footer-socials a:hover { background-color: var(--color-primary-dark); color: #fff; }

/* Footer columns */
.footer-col h4 {
  color: #111827;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}

.footer-links a i { color: var(--color-primary-dark); font-size: 0.7rem; }
.footer-links a:hover { color: var(--color-primary-dark); }

/* Hours */
.footer-hours { display: flex; flex-direction: column; gap: 0; }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.footer-hours li:last-child { border-bottom: none; }
.footer-hours li span:last-child { color: #6b7280; }

.footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.625rem 1.25rem;
  margin-top: 1.5rem;
  transition: background-color var(--transition-med);
}

.footer-call:hover { background-color: var(--color-primary-dark); color: var(--color-secondary); }

/* Footer bottom */
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p { color: #6b7280; font-size: 0.75rem; }

/* ──────────────────────────────────────────────────────────────
   18. SWIPER GLOBAL OVERRIDES
────────────────────────────────────────────────────────────── */
.swiper-pagination-bullet {
  background: var(--color-primary) !important;
  opacity: 0.4;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--color-accent) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-accent) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.25rem !important;
}

/* ──────────────────────────────────────────────────────────────
   19. UTILITIES
────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-14 { margin-bottom: 3.5rem; }
.w-16-bar { width: 4rem; height: 4px; background-color: var(--color-accent); margin-inline: auto; }

/* WordPress default styles reset */
.wp-block-image { margin: 0; }
.alignnone { margin: 0; }

/* ──────────────────────────────────────────────────────────────
   20. SINGLE SERVICE PAGE  (single-service.php)
────────────────────────────────────────────────────────────── */

/* ── Hero ── */
.sp-hero {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.70) 55%,
    rgba(0,0,0,0.35) 100%
  );
}

.sp-hero__inner {
  position: relative;
  z-index: 10;
  padding-block: 5rem 4rem;
}

/* Breadcrumb */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.sp-breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-base);
}

.sp-breadcrumb a:hover { color: var(--color-accent); }

.sp-breadcrumb__sep { color: rgba(255,215,0,0.4); font-size: 0.6rem; }

.sp-breadcrumb__current { color: var(--color-accent); }

/* Hero content */
.sp-hero__content { max-width: 44rem; }

.sp-hero__icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.sp-hero__icon i {
  color: var(--color-secondary);
  font-size: 1.25rem;
}

.sp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

.sp-hero__sub {
  font-size: 1.125rem;
  color: #d1d5db;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 38rem;
}

.sp-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Main content layout ── */
.sp-content-section {
  background-color: var(--color-neutral);
  padding-block: 5rem;
}

.sp-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .sp-content-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

/* Article */
.sp-content-main {
  flex: 1;
  min-width: 0;
}

.sp-content-body {
  color: var(--color-secondary-light);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.sp-content-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
}

.sp-content-body h3 {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.sp-content-body p { margin-bottom: 1.25rem; }

.sp-content-body ul,
.sp-content-body ol {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sp-content-body ul li,
.sp-content-body ol li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-secondary-light);
}

.sp-content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-accent);
}

.sp-content-body ol {
  counter-reset: em-list;
}

.sp-content-body ol li {
  counter-increment: em-list;
}

.sp-content-body ol li::before {
  content: counter(em-list);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-content-body strong { color: var(--color-secondary); font-weight: 700; }

.sp-content-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  background-color: var(--color-neutral-gray);
  margin-block: 1.5rem;
  font-style: italic;
  color: var(--color-secondary-light);
}

/* Sidebar */
.sp-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .sp-sidebar { width: 22rem; flex-shrink: 0; }
}

.sp-sidebar__card {
  background-color: var(--color-neutral-gray);
  padding: 1.75rem;
  border-top: 4px solid var(--color-accent);
}

.sp-sidebar__card--dark {
  background-color: var(--color-secondary);
  color: var(--color-neutral);
}

.sp-sidebar__card--dark h3 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.sp-sidebar__card--dark p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sp-sidebar__card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.sp-sidebar__card-icon i {
  color: var(--color-secondary);
  font-size: 1.25rem;
}

.sp-sidebar__card-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.sp-sidebar__card-title i { color: var(--color-accent); }

.sp-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
}

.sp-sidebar__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-secondary-light);
  padding: 0;
}

.sp-sidebar__list li i {
  color: var(--color-accent);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.sp-sidebar__services-list {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.sp-sidebar__services-list li { border-bottom: 1px solid #e5e7eb; }
.sp-sidebar__services-list li:last-child { border-bottom: none; }

.sp-sidebar__services-list a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-block: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-secondary-light);
  font-weight: 500;
  transition: color var(--transition-base);
}

.sp-sidebar__services-list a:hover { color: var(--color-primary); }

.sp-sidebar__services-list a i:first-child {
  color: var(--color-accent);
  font-size: 0.8rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.sp-sidebar__arrow {
  margin-left: auto;
  font-size: 0.6rem !important;
  color: #d1d5db !important;
}

.sp-sidebar__all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-base);
}

.sp-sidebar__all-link:hover { color: var(--color-primary-dark); }
.sp-sidebar__all-link i { font-size: 0.65rem; }

/* ── CTA Banner ── */
.sp-cta-banner {
  position: relative;
  background-color: var(--color-secondary);
  overflow: hidden;
  padding-block: 5rem;
}

.sp-cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,134,11,0.18) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}

/* Decorative corner accent */
.sp-cta-banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sp-cta-banner__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .sp-cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }
}

.sp-cta-banner__text { max-width: 38rem; }

.sp-cta-banner__heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.sp-cta-banner__accent { color: var(--color-accent); }

.sp-cta-banner__sub {
  color: #9ca3af;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
}

.sp-cta-banner__sub strong { color: #d1d5db; }

.sp-cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.sp-cta-banner__btn-primary,
.sp-cta-banner__btn-ghost {
  justify-content: center;
  text-align: center;
}

@media (min-width: 640px) {
  .sp-cta-banner__actions { min-width: 16rem; }
}

.sp-cta-banner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.sp-cta-banner__badges span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-cta-banner__badges span i {
  color: var(--color-accent);
  font-size: 0.75rem;
}

/* ──────────────────────────────────────────────────────────────
   ARCHIVE & SEARCH STYLES
────────────────────────────────────────────────────────────── */

.archive-search-bar {
  margin-bottom: 3rem;
}

.service-search-form {
  display: flex;
  gap: 0.5rem;
  background-color: var(--color-neutral);
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.search-input-wrap {
  position: relative;
  flex-grow: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.service-search-field {
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  outline: none;
  border-radius: 50px;
  font-size: 1rem;
  color: var(--color-secondary);
  background: transparent;
}

.service-search-form .btn-primary {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

/* Service Card Archive adjustments */
.service-card--archive {
  height: 22rem;
  border-radius: 8px;
}

/* ──────────────────────────────────────────────────────────────
   PAGINATION STYLES
────────────────────────────────────────────────────────────── */
.em-pagination {
  margin-top: 3rem;
  text-align: center;
}

.em-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.em-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  background-color: var(--color-neutral);
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  border: 1px solid #e5e7eb;
}

.em-pagination .page-numbers:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(218, 165, 32, 0.3);
}

.em-pagination .page-numbers.current {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.em-pagination .page-numbers.dots {
  background-color: transparent;
  box-shadow: none;
  border-color: transparent;
  min-width: auto;
}

.em-pagination .page-numbers .screen-reader-text {
  display: none;
}

/* ──────────────────────────────────────────────────────────────
   FLOATING ACTIONS (WhatsApp & Scroll to Top)
────────────────────────────────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
  background-color: #128C7E;
  color: #ffffff;
  transform: translateY(-5px);
}

.floating-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.floating-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-scroll-top:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-secondary);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .floating-whatsapp { left: 1rem; bottom: 1rem; width: 3rem; height: 3rem; font-size: 1.75rem; }
  .floating-scroll-top { right: 1rem; bottom: 1rem; width: 3rem; height: 3rem; font-size: 1rem; }
}
