/*──────────────────────────────────────────────
  ONLY WAY AIR — CLEAN PREMIUM CSS (2026)
  Optimized • Duplicate-Free • SEO-Ready
──────────────────────────────────────────────
  • Removed all duplicate rules (.services-section, .services-grid, .service-card)
  • Consolidated responsive & desktop overrides
  • Kept ALL new wide "money-line" grid classes & styles
  • Improved performance (smaller file, fewer overrides)
  • Better mobile/desktop consistency for faster load times & SEO
──────────────────────────────────────────────*/

/* VARIABLES */
:root {
  --primary: #00a8ff;
  --navy: #0a192f;
  --green: #00d084;
  --green-dark: #063d2b;
  --light-bg: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.4);
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
}

/* LINKS */
a {
  text-decoration: none;
  color: var(--primary);
}

a:hover {
  color: var(--green);
}

/* BUTTONS */
.cta-button,
.theme_button,
.cta-button-small {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1.2rem 2.6rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 18px 40px rgba(0, 168, 255, 0.35);
  transition: var(--transition);
}

.cta-button:hover,
.theme_button:hover,
.cta-button-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 168, 255, 0.45);
  color: white !important;
}

.cta-secondary {
  padding: 1.2rem 2.2rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: white;
  font-weight: 700;
  transition: var(--transition);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/*══════════════════════════════════════════════
  THINNER TOP EMERGENCY BAR + BIGGER LOGO
  (No overlap, clean on all devices)
══════════════════════════════════════════════*/

/* Thinner Emergency Bar */
.top-emergency-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--navy);
  color: white;
  font-size: 0.9rem;
  padding: 0.5rem 0;           /* ← thinner bar */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.emergency-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.phone-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.phone-link:hover {
  color: #fff;
  text-decoration: underline;
}

.emergency-text {
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* Right side (button + socials) */
.emergency-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-social {
  display: flex;
  gap: 1.1rem;
}

.header-social a {
  color: #fff;
  font-size: 1.35rem;
  transition: var(--transition);
}

.header-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Bigger Logo + Header */
.site-logo img {
  max-height: 68px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.site-header {
  position: fixed;
  top: 41px;                    /* sits right under the thinner bar */
  left: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1190;
  min-height: 78px;
}

/* Body padding covers both bars */
body {
  padding-top: 119px;           /* 41px thin bar + 78px header */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .site-logo img {
    max-height: 58px;
  }
  .site-header {
    top: 41px;
    padding: 0.7rem 0;
    min-height: 72px;
  }
  body {
    padding-top: 113px;
  }
  .top-emergency-bar {
    padding: 0.45rem 0;
    font-size: 0.85rem;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .emergency-inner {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }
  .header-social {
    display: none;
  }
}

/*══════════════════════════════════════════════
  THINNER MAIN HEADER
══════════════════════════════════════════════*/
.site-header {
  position: fixed;
  top: 53px;
  left: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.55rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1190;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
/*──────────────────────────────────────────────
  BIGGER LOGO + HEADER SPACING (Fixed Overlap)
──────────────────────────────────────────────*/
.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 68px;           /* your desired larger logo */
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Main header — tall enough for the bigger logo */
.site-header {
  position: fixed;
  top: 53px;                  /* sits directly under emergency bar */
  left: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;         /* increased vertical space */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1190;
  min-height: 78px;           /* ensures logo has room */
}

/* Body padding must cover BOTH fixed bars */
body {
  padding-top: 131px;         /* 53px emergency + 78px header */
}

/*──────────────────────────────────────────────
  MOBILE / TABLET ADJUSTMENTS
──────────────────────────────────────────────*/
@media (max-width: 768px) {
  .site-logo img {
    max-height: 58px;         /* slightly smaller on phones */
  }

  .site-header {
    padding: 0.7rem 0;
    min-height: 72px;
  }

  body {
    padding-top: 125px;       /* adjusted for mobile */
  }

  .top-emergency-bar {
    padding: 0.75rem 0;
  }
}

/* Very small screens — prevent top bar wrapping */
@media (max-width: 480px) {
  .emergency-inner {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }
  .header-social {
    display: none;
  }
  .top-emergency-bar {
    font-size: 0.85rem;
  }
}

/*──────────────────────────────────────────────
  DESKTOP NAV + DROPDOWNS (unchanged logic)
──────────────────────────────────────────────*/
.primary-menu .menu {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu .menu li {
  position: relative;
}

.primary-menu .menu a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  padding: 0.7rem 0;
  transition: var(--transition);
}

.primary-menu .menu a:hover {
  color: var(--primary);
}

.primary-menu .menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.8rem 0;
  background: #0a192f;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1300;
}

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

.primary-menu .menu li ul a {
  display: block;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  color: #fff;
}

.primary-menu .menu li ul a:hover {
  background: rgba(0, 168, 255, 0.15);
  color: var(--primary);
}

.primary-menu .menu li.menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.75rem;
  margin-left: 6px;
  opacity: 0.7;
}

/* GET SERVICE Button */
.get-service-btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(0, 168, 255, 0.4);
  white-space: nowrap;
}

.get-service-btn:hover {
  background: var(--green);
  transform: translateY(-3px);
}

/*──────────────────────────────────────────────
  MOBILE MENU
──────────────────────────────────────────────*/
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.3rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .header-right .menu-toggle {
    display: none;
  }
  .primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a192f;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1100;
  }
  .primary-menu.active {
    display: block;
  }
  .primary-menu .menu {
    flex-direction: column;
    gap: 1.5rem;
  }
  .primary-menu li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
  }
  .primary-menu a {
    color: #fff;
    font-size: 1.1rem;
  }
  .primary-menu .menu li ul {
    position: static;
    display: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
  }
  .primary-menu .menu li.active > ul {
    display: block;
  }
  .primary-menu .menu li.menu-item-has-children > a {
    position: relative;
    padding-right: 3rem;
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .primary-menu .menu li.menu-item-has-children > a::after {
    content: "▾";
    position: absolute;
    right: 1.2rem;
    font-size: 1.6rem;
    opacity: 0.7;
  }
  .primary-menu .menu li.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
    opacity: 1;
  }
}

/*──────────────────────────────────────────────
  MOBILE / TABLET ADJUSTMENTS
──────────────────────────────────────────────*/
@media (max-width: 768px) {
  .site-logo img {
    max-height: 58px;         /* bigger than the old 52px */
  }
  .site-header {
    top: 53px;
    padding: 0.6rem 0;        /* keep it comfy but compact */
  }
  body {
    padding-top: 118px;       /* 53px bar + ~65px header */
  }
  .top-emergency-bar {
    padding: 0.7rem 0;
  }
  .emergency-inner {
    gap: 0.8rem;
  }
}

/* Very small screens: force single-line top bar so it doesn't 
   overlap the fixed header below it */
@media (max-width: 480px) {
  .emergency-inner {
    flex-wrap: nowrap;
  }
  .header-social {
    display: none;            /* hide socials to save space */
  }
  .top-emergency-bar {
    font-size: 0.85rem;
  }
}
/*══════════════════════════════════════════════
  HERO — Desktop perfect, Mobile tech bigger + stacked above fan
══════════════════════════════════════════════*/
.hero {
  position: relative;
  padding: 5.4rem 1.5rem 3.8rem;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 168, 255, 0.18), transparent 45%),
    linear-gradient(rgba(10, 25, 47, 0.82), rgba(10, 25, 47, 0.95)),
    url('../images/bg_map.webp');
  background-size: cover;
  background-position: center;
}

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

.hero-content {
  max-width: 640px;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-tech-image {
  max-width: 380px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  z-index: 2;
}

.hero-fan-logo {
  position: absolute;
  width: 140px;
  opacity: 0.15;
  top: -20px;
  right: -20px;
}

/*══════════════════════════════════════════════
  MOBILE HERO ONLY — Ladarius much bigger + stacked above fan
  Desktop remains 100% unchanged
══════════════════════════════════════════════*/
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;           /* force single column */
  }

  .hero-visual {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    order: 2;                             /* push visual below text if needed */
  }

  .hero-tech-image {
    max-width: 320px;                     /* significantly bigger on mobile */
    width: 100%;
    order: -1;                            /* tech appears first (above fan) */
    margin-bottom: 0.5rem;
  }

  .hero-fan-logo {
    max-width: 100px;
    opacity: 0.16;
    position: relative;
    top: auto;
    right: auto;
  }

  /* Very small phones */
  @media (max-width: 480px) {
    .hero-tech-image {
      max-width: 290px;
    }
  }
}
/*══════════════════════════════════════════════
  TRUST BAR
══════════════════════════════════════════════*/
.trust-bar {
  background: var(--navy);
  padding: 1rem 0;
}

.trust-bar ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-bar li {
  color: white;
  font-weight: 600;
}

/*══════════════════════════════════════════════
  SERVICES GRID & CARDS (Unified Base Styles)
══════════════════════════════════════════════*/
.services-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.service-card p {
  flex-grow: 1;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
/*══════════════════════════════════════════════
  THE WIDE MONEY-LINE GRID
══════════════════════════════════════════════*/

.home-page .services-section .container,
.front-page .services-section .container {
    max-width: 98% !important;
    width: 1800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Desktop: 5-column wide money-line grid */
@media (min-width: 992px) {
    .home-page .services-section .services-grid,
    .front-page .services-section .services-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
        position: relative;
        z-index: 20;
        /* Removed negative margin — prevents mobile/desktop overlap */
    }

    .home-page .services-section .service-card,
    .front-page .services-section .service-card {
        display: flex;
        flex-direction: column;
        min-height: 460px;
        padding: 0;
        border-radius: 12px;
        box-shadow: 0 12px 35px rgba(0,0,0,0.12);
        background: #fff;
        overflow: hidden;
        border: 1px solid #eee;
        transition: transform 0.3s ease;
    }

    .home-page .services-section .service-card:hover,
    .front-page .services-section .service-card:hover {
        transform: translateY(-5px);
    }

    .home-page .services-section .service-card h3,
    .front-page .services-section .service-card h3 {
        order: -2;
        font-size: 1.4rem;
        font-weight: 900;
        margin: 0;
        padding: 1.25rem 1rem;
        color: #111;
        text-align: center;
        background: #ffffff;
        border-bottom: 1px solid #f0f0f0;
    }

    .home-page .service-icon-wrap,
    .front-page .service-icon-wrap {
        order: -1;
        margin: 0 !important;
        height: 210px;
        width: 100%;
        overflow: hidden;
    }

    .home-page .service-thumbnail,
    .front-page .service-thumbnail {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .home-page .services-section .service-card p,
    .front-page .services-section .service-card p {
        padding: 1.25rem 1.25rem 0;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #444;
        flex-grow: 1;
    }

    .home-page .services-section .service-card .cta-button-small,
    .front-page .services-section .service-card .cta-button-small {
        margin: 1.25rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

/* Mobile & Tablet: Force clean stacking (prevents any bleed from desktop rules) */
@media (max-width: 991px) {
    .home-page .services-section .services-grid,
    .front-page .services-section .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 2rem;
        margin-top: 0 !important;
    }

    .home-page .services-section .service-card,
    .front-page .services-section .service-card {
        min-height: auto;
        padding: 2.5rem 2rem;
    }
}

/*══════════════════════════════════════════════
  FOOTER
══════════════════════════════════════════════*/
.site-footer {
  background: var(--navy);
  color: white;
  padding: 4rem 0 2.5rem;
}

.site-footer .container {
  text-align: center;
}

.footer-top {
  margin-bottom: 2.5rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
}

.footer-menu a {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--green);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  color: var(--green);
}

.text-muted {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/*══════════════════════════════════════════════
  FEATURED IMAGES + POST META (Date & Author)
  -------- single posts/services ------------
══════════════════════════════════════════════*/
.single .service-thumbnail,
.service-single .service-thumbnail,
.post .service-thumbnail,
.entry-content img,
.service-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 460px;                    /* Desktop */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    margin: 2rem auto 2.5rem;
    display: block;
}

/* Mobile: Significantly smaller and tighter */
@media (max-width: 768px) {
    .single .service-thumbnail,
    .service-single .service-thumbnail,
    .post .service-thumbnail,
    .entry-content img,
    .service-content img {
        max-height: 260px;                /* Much more compact on phones */
        margin: 1.4rem auto 1.8rem;
        border-radius: 12px;
    }
}

/* Center images in content */
.entry-content img,
.service-content img {
    max-width: 860px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Hide date & author */
.single .text-muted,
.single-post .text-muted,
.post .text-muted,
.entry-meta,
.byline,
.posted-on,
.post-meta {
    display: none !important;
}

/*══════════════════════════════════════════════
  SERVICE AREAS - Regional Grouping
══════════════════════════════════════════════*/
.service-areas {
  padding: 5rem 0 6rem;
  background: var(--light-bg);
}

.region {
  margin-bottom: 4rem;
}

.region h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--navy);
  font-size: 2rem;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.city-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 999px;
  padding: 1.4rem 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-strong);
  color: var(--navy);
}

/* Clean footer gap fix */
.service-areas {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 0;
}

/*══════════════════════════════════════════════
  ROW LAYOUT – Sidebar (unified, no duplicates)
══════════════════════════════════════════════*/
.row {
    display: grid;
    grid-template-columns: minmax(0, 780px) 360px;
    gap: 3rem;
    align-items: start;
}

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

@media (min-width: 1400px) {
    .row {
        grid-template-columns: minmax(0, 820px) 380px;
    }
}

.main-content { min-width: 0; }
.sidebar-column {
    position: sticky;
    top: 2rem;
}

/*══════════════════════════════════════════════
  SIDEBAR ETA CHART
══════════════════════════════════════════════*/
.eta-chart {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.eta-chart h4 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.eta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.eta-table th {
  background: var(--navy);
  color: white;
  padding: 1rem 0.8rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
}

.eta-table td {
  padding: 1rem 0.8rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1.05rem;
}

.eta-table tr:last-child td {
  border-bottom: none;
}

.eta-table tr:nth-child(even) {
  background: #f1f5f9;
}

.eta-table strong {
  color: var(--green);
  font-weight: 800;
}

/* Sidebar Link Button - Fixed Hover */
.sidebar-link {
  display: block;
  text-align: center;
  background: var(--primary);
  color: white !important;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-link:hover {
  background: var(--green);
  color: white !important;
  transform: translateY(-2px);
}

/*══════════════════════════════════════════════
  TABLES — SERVICES & ETA (Tightened + Mobile Optimized)
══════════════════════════════════════════════*/
/* Main Services & ETA Tables */
.services-table,
.eta-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-table th,
.eta-table th {
    background: var(--navy);
    color: white;
    padding: 1rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
}

.services-table td,
.eta-table td {
    padding: 1rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    font-size: 1.05rem;
    line-height: 1.5;
}

.services-table tr:last-child td,
.eta-table tr:last-child td {
    border-bottom: none;
}

.services-table tr:nth-child(even),
.eta-table tr:nth-child(even) {
    background: #f1f5f9;
}

.services-table strong,
.eta-table strong {
    color: var(--green);
}

/* Sidebar ETA Chart Container */
.eta-chart {
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.eta-chart h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-size: 1.25rem;
}

/* Mobile: Tighter, scrollable tables */
@media (max-width: 768px) {
    .services-table,
    .eta-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .services-table th,
    .services-table td,
    .eta-table th,
    .eta-table td {
        font-size: 0.92rem;
        padding: 0.75rem 0.7rem;
        line-height: 1.4;
    }

    @media (max-width: 480px) {
        .services-table th,
        .services-table td,
        .eta-table th,
        .eta-table td {
            font-size: 0.88rem;
            padding: 0.65rem 0.6rem;
        }
    }
}

/*══════════════════════════════════════════════
  MOBILE: Tighter, more compact tables
══════════════════════════════════════════════*/
@media (max-width: 768px) {
    .services-table,
    .eta-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .services-table th,
    .services-table td,
    .eta-table th,
    .eta-table td {
        font-size: 0.92rem;           /* smaller text */
        padding: 0.75rem 0.7rem;      /* much tighter padding */
        line-height: 1.4;
    }

    /* Extra tightening for very small screens */
    @media (max-width: 480px) {
        .services-table th,
        .services-table td,
        .eta-table th,
        .eta-table td {
            font-size: 0.88rem;
            padding: 0.65rem 0.6rem;
        }
    }
}


/*══════════════════════════════════════════════
  CONTACT CARD + CONTACT PAGE + FULL-WIDTH MAP
  Consolidated • Duplicate-free • SEO & speed optimized
══════════════════════════════════════════════*/

/* Contact Card (Sidebar) */
.contact-card {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card h4 {
  color: var(--navy);
  margin-bottom: 1.2rem;
  font-size: 1.25rem;
}

.contact-info .address {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.contact-info .license {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 3.2rem;
  color: var(--navy);
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary);
  transform: scale(1.15);
}

/* Instagram gradient */
.social-icons a[href*="instagram"] {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Contact Us Page */
.contact-page {
  padding: 5rem 0 6rem;
  background: var(--light-bg);
}

.contact-form-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.contact-form-card h2 {
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
}

.form-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.form-note a {
  color: var(--primary);
  font-weight: 700;
}

/* Form Fields */
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}

/* Submit Button */
.contact-form-card input[type="submit"] {
  display: inline-block;
  background: var(--primary) !important;
  color: white !important;
  padding: 1.1rem 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  width: 100%;
  margin-top: 1rem;
}

.contact-form-card input[type="submit"]:hover {
  background: var(--green) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* Full-Width Greyscale Contact Map */
.contact-map-full {
  margin: 0;
  padding: 0;
  background: #f8fafc;
}

.contact-map-full iframe {
  width: 100% !important;
  height: 380px !important;
  border: none;
  display: block;
  filter: grayscale(85%) contrast(1.05) brightness(0.95);
  transition: filter 0.4s ease;
}

.contact-map-full iframe:hover {
  filter: grayscale(60%) contrast(1.08) brightness(1);
}

@media (max-width: 768px) {
  .contact-map-full iframe {
    height: 320px !important;
  }
}

/*══════════════════════════════════════════════
  FULL-WIDTH GREYSCALE CONTACT MAP
══════════════════════════════════════════════*/
.contact-map-full {
  margin: 0;
  padding: 0;
  background: #f8fafc;
}

.contact-map-full iframe {
  width: 100% !important;
  height: 380px !important;
  border: none;
  display: block;
  filter: grayscale(85%) contrast(1.05) brightness(0.95);
  transition: filter 0.4s ease;
}

.contact-map-full iframe:hover {
  filter: grayscale(60%) contrast(1.08) brightness(1);
}

@media (max-width: 768px) {
  .contact-map-full iframe {
    height: 320px !important;
  }
}

/*══════════════════════════════════════════════
  REVIEWS CAROUSEL - Full Width
══════════════════════════════════════════════*/
.reviews-section-full {
  padding: 5rem 0;
  background: white;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.reviews-header h2 {
  margin-bottom: 1.5rem;
}

.rating-badge {
  display: inline-block;
  text-align: center;
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--navy);
}

.stars {
  color: #fbbf24;
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.review-count {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.review-slide {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  min-height: 260px;
  display: none;
}

.review-slide.active {
  display: block;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.review-text {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--navy);
}

.review-time {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reviews-footer {
  text-align: center;
}

/* Reviewer Avatar in Reviews Carousel */
.review-slide {
    position: relative;
}

/*══════════════════════════════════════════════
  MOBILE SUBMENU CHEVRON + BETTER TOUCH TARGETS
══════════════════════════════════════════════*/
@media (max-width: 900px) {
  .primary-menu .menu li.menu-item-has-children > a {
    position: relative;
    padding-right: 3rem;
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .primary-menu .menu li.menu-item-has-children > a::after {
    content: "▾";
    position: absolute;
    right: 1.2rem;
    font-size: 1.6rem;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .primary-menu .menu li.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
    opacity: 1;
  }
}

/*══════════════════════════════════════════════
  ROW LAYOUT Wider sidebar + capped main content
══════════════════════════════════════════════*/
.row {
  display: grid;
  grid-template-columns: minmax(0, 780px) 360px;   /* Main content capped + wider sidebar */
  gap: 3rem;
  align-items: start;
}

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

@media (min-width: 1400px) {
  .row {
    grid-template-columns: minmax(0, 820px) 380px; /* Extra breathing room on ultra-wide screens */
  }
}

.main-content {
  min-width: 0;
}

/* =============================================
   HIDE DEFAULT TITLES (Excluding Hero Sections)
   ============================================= */
.entry-title,
.page-title,
.archive-title,
.wp-block-post-title,
.single .entry-header h1,
.page .entry-header h1,
.post .entry-header h1,
.service-single h1:not(.hero-content h1),
.main-content h1:first-of-type:not(.hero-content h1),
.service-location-details h1:not(.hero-content h1) {
    display: none !important;
}

/* Ensure custom hero H1s always remain visible */
.hero-content h1,
.hero h1 {
    display: block !important;
}

/* =============================================
   POSTS DISPLAY (Grid Layout)
   ============================================= */
.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 3rem 0;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Thumbnail Styling */
.post-grid .service-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
/*──────────────────────────────────────────────
  REVIEWS CAROUSEL — Scroll-Snap
──────────────────────────────────────────────*/
.reviews-section-full {
  padding: 5rem 0;
  background: white;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.reviews-header h2 {
  margin-bottom: 1.5rem;
}

.rating-badge {
  display: inline-block;
  text-align: center;
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--navy);
}

.stars {
  color: #fbbf24;
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.review-count {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.reviews-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  padding: 0 5% 40px 5%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  box-sizing: border-box;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-slide {
  flex: 0 0 350px;
  background: #f8fafc;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #edf2f7;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-slide:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.review-text {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  font-weight: 700;
  color: var(--navy);
}

.review-time {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reviews-footer {
  text-align: center;
}

/* Mobile Reviews Carousel */
@media (max-width: 768px) {
  .reviews-carousel {
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 20px;
    padding: 0 20px;
    scroll-snap-type: none;
  }

  .review-slide {
    flex: 0 0 100%;
    scroll-snap-align: none;
  }
}

/*══════════════════════════════════════════════
  MOBILE: STACKING VERTICALLY
══════════════════════════════════════════════*/
@media (max-width: 768px) {
    .reviews-carousel {
        flex-direction: column; 
        flex-wrap: wrap;        
        overflow-x: visible;    
        gap: 20px;
        padding: 0 20px;        
        scroll-snap-type: none; /* cleaner mobile */
    }

    .review-slide {
        flex: 0 0 100%;         
        scroll-snap-align: none; 
        transform: none !important;
    }
}
/*------Lazy load------*//////
img:not([loading]) {
    loading: lazy;
}

/* Optional: Slight compression hint for WebP images */
img[src$=".webp"] {
    image-rendering: crisp-edges;
}

/* =============================================
   TRUST • COMPANY • MAILERLITE FORM
   ============================================= */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.company-grid h2 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--navy);
}

.company-grid h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.company-grid p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Form card tweak — slightly more padding than base .contact-card */
.company-grid > .contact-card {
  padding: 2rem;
}

/* ---- MailerLite overrides to match site design ---- */
#mailerlite-form-wrapper .ml-block-form input[type="email"] {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-family: inherit;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

#mailerlite-form-wrapper .ml-block-form input[type="email"]:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}

#mailerlite-form-wrapper .ml-block-form button[type="submit"] {
  display: inline-block;
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: 0 15px 35px rgba(0, 168, 255, 0.35);
  transition: var(--transition);
}

#mailerlite-form-wrapper .ml-block-form button[type="submit"]:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 210, 132, 0.35);
}

#mailerlite-form-wrapper .ml-form-checkboxRow label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.5rem;
  line-height: 1.4;
}

#mailerlite-form-wrapper .ml-form-checkboxRow input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* Subtle color separator for new homepage section */
.home-trust-section {
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  padding-top: 5rem;
  margin-top: 2rem;
}

.home-trust-section .row {
  position: relative;
}

.home-trust-section .row::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--primary);
  opacity: 0.15;
  border-radius: 999px;
}

/* Local Cities Grid - Matches new homepage tone */
.city-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    padding: 1.2rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.city-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-strong);
    color: var(--navy);
}

/* --------Posts -------*/
/* Fix for home.php / All Posts page layout */
.content-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
}

.content-layout .main-content {
    flex: 1 1 680px !important;
    min-width: 0 !important;
}

.content-layout .sidebar-column {
    flex: 0 0 340px !important;
    min-width: 0 !important;
}

@media (max-width: 991px) {
    .content-layout .main-content,
    .content-layout .sidebar-column {
        flex: 1 1 100% !important;
    }
}
.content-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    align-items: flex-start !important;
}

.content-layout .main-content {
    flex: 1 1 680px !important;
}

.content-layout .sidebar-column {
    flex: 0 0 340px !important;
    align-self: flex-start !important;
}

/* Mobile fallback */
@media (max-width: 991px) {
    .content-layout .main-content,
    .content-layout .sidebar-column {
        flex: 1 1 100% !important;
    }
}