/* =============================================
   JLP PLUMBING — GLOBAL STYLESHEET
   ============================================= */

/* Metric-matched fallback: Arial scaled to Montserrat's own metrics so that
   when the web font swaps in there is zero reflow (fixes font-swap CLS).
   The final rendered text is still Montserrat — appearance is unchanged. */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial');
  ascent-override: 85.79%;
  descent-override: 22.25%;
  line-gap-override: 0%;
  size-adjust: 112.83%;
}

:root {
  --blue: #196BD4;
  --blue-dark: #1457AA;
  --blue-light: #EBF4FF;
  --navy: #15214f;
  --dark: #1A202C;
  --grey: #64748B;
  --grey-light: #F8F9FC;
  --border: #E4E8F0;
  --white: #FFFFFF;
  --success: #25D366;
  --font: 'Montserrat', 'Montserrat Fallback', Arial, sans-serif;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow: 0 4px 18px rgba(0,0,0,0.10);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 22px;
  --max-width: 1240px;
  --transition: 0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.15; color: var(--dark); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--dark); }
h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); font-weight: 600; line-height: 1.3; color: var(--dark); }
h4 { font-size: 1rem; font-weight: 600; color: var(--dark); }
p { color: var(--grey); line-height: 1.7; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; display: block; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }
.text-center { text-align: center; }
.br-mobile { display: none; } /* mobile-only line break (shown ≤768px) */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: all var(--transition); border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(25,107,212,0.30); }
.btn:active { transform: translateY(0) !important; box-shadow: none !important; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-light); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ---- TOP BAR ---- */
.topbar { background: var(--dark); padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #ccc; font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--white); }
.topbar-links { display: flex; gap: 20px; align-items: center; }

/* ---- HEADER ---- */
.header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 20px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { height: 54px; width: auto; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-name { font-weight: 800; font-size: 1.1rem; color: var(--dark); line-height: 1.05; white-space: nowrap; }
.logo-sub { font-size: 0.82rem; color: var(--blue); font-weight: 600; line-height: 1.05; white-space: nowrap; }

/* ---- NAVIGATION ---- */
.nav { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.logo { flex-shrink: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 2px; padding: 7px 7px; font-size: 0.8rem; font-weight: 600; color: var(--dark); border-radius: var(--radius); transition: all var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-light); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 200; padding: 8px; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 0.875rem; color: var(--grey); font-weight: 500; border-radius: var(--radius); transition: all var(--transition); }
.dropdown a:hover { color: var(--blue); background: var(--blue-light); }
.dropdown a::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; opacity: 0; transition: opacity var(--transition); flex-shrink: 0; }
.dropdown a:hover::before { opacity: 1; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--dark); font-size: 0.9rem; white-space: nowrap; }
.header-phone svg { color: var(--blue); width: 18px; height: 18px; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; background: none; border: none; border-radius: var(--radius); padding: 8px 6px; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 300; overflow-y: auto; padding: 20px; }
.mobile-menu.open { display: block; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.mobile-menu-close { background: none; border: none; font-size: 1.5rem; color: var(--dark); padding: 4px; }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 600; font-size: 1rem; color: var(--dark); }
.mobile-nav-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.mobile-nav-link.open svg { transform: rotate(180deg); }
.mobile-sub-nav { display: none; padding-bottom: 8px; }
.mobile-sub-nav.open { display: block; }
.mobile-sub-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 0.875rem; color: var(--grey); border-radius: var(--radius); }
.mobile-sub-nav a:hover { color: var(--blue); background: var(--blue-light); }
.mobile-sub-nav a::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.mobile-menu-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---- HERO ---- */
.hero-stars-mobile { display: none; }
.hero { background-color: var(--navy); background-image: url('/assets/images/hero-vans.jpg?v=2'); background-image: -webkit-image-set(url('/assets/images/hero-vans.webp?v=2') type('image/webp'), url('/assets/images/hero-vans.jpg?v=2') type('image/jpeg')); background-image: image-set(url('/assets/images/hero-vans.webp?v=2') type('image/webp'), url('/assets/images/hero-vans.jpg?v=2') type('image/jpeg')); background-size: cover; background-position: center; padding: 64px 0 56px; position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: center; }
/* Mobile: same hero photo, lighter file (≈55KB vs 107KB). Identical crop/appearance. Non-webp browsers fall back to the original jpg. */
@media (max-width: 768px) {
  .hero { background-image: url('/assets/images/hero-vans.jpg?v=2'); background-image: -webkit-image-set(url('/assets/images/hero-vans-mobile.webp?v=1') type('image/webp'), url('/assets/images/hero-vans.jpg?v=2') type('image/jpeg')); background-image: image-set(url('/assets/images/hero-vans-mobile.webp?v=1') type('image/webp'), url('/assets/images/hero-vans.jpg?v=2') type('image/jpeg')); }
}
/* Fade the fleet photo to ~50% (slightly darker on the left for the headline) */
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,33,79,0.62) 0%, rgba(21,33,79,0.50) 55%, rgba(21,33,79,0.46) 100%); }
.hero-overlay { position: absolute; inset: 0; background: transparent; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; position: relative; z-index: 2; width: 100%; }
.hero-content h1 { color: var(--white); font-size: clamp(1.45rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.18; }
.hero-line { width: 126px; height: 6px; background: var(--white); opacity: 0.7; margin: 20px 0 18px; border-radius: 3px; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1rem; max-width: 520px; line-height: 1.7; }
.hero-card { background: var(--white); border-radius: 22px; padding: 28px 24px; box-shadow: 0 18px 46px rgba(0,0,0,.22); display: flex; flex-direction: column; gap: 10px; }
.hero-form-bare { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.hero-form-bare .hero-select { padding: 15px 18px; font-size: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.hero-form-bare .btn-enquire { padding: 15px 18px; box-shadow: 0 6px 18px rgba(25,107,212,0.35); }
.hero-card-badge { background: #EBF4FF; color: var(--blue); font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; width: fit-content; }
.hero-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin: 0; }
.hero-card-sub { font-size: 0.82rem; color: var(--grey); margin: 0; line-height: 1.5; }
.hero-input { padding: 12px 14px; border: 1.5px solid #dcdcdc; border-radius: var(--radius); font-family: var(--font); font-size: 0.9rem; color: var(--dark); background: white; width: 100%; }
.hero-input:focus { outline: none; border-color: var(--blue); }
.hero-input::placeholder { color: #9aa7bf; }
.hero-select { padding: 13px 16px; border: 1.5px solid #dcdcdc; border-radius: var(--radius); font-family: var(--font); font-size: 0.9rem; color: var(--dark); background: white; width: 100%; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.hero-select:focus { outline: none; border-color: var(--blue); }
.btn-enquire { width: 100%; background: var(--blue); color: white; border: none; border-radius: var(--radius); padding: 15px 20px; font-family: var(--font); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background var(--transition); text-align: center; }
.btn-enquire:hover { background: var(--blue-dark); }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #0B7A48; color: white; border: none; border-radius: var(--radius); padding: 14px 20px; font-family: var(--font); font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: background var(--transition); white-space: nowrap; }
.btn-whatsapp:hover { background: #1ea855; color: white; }
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Enquiry Popup Modal */
.enquiry-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.62); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.enquiry-overlay.active { display: flex; }
.enquiry-modal { background: white; border-radius: 16px; max-width: 480px; width: 100%; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.3); animation: modalIn 0.22s ease; }
@keyframes modalIn { from { opacity:0; transform:scale(0.95) translateY(10px); } to { opacity:1; transform:scale(1) translateY(0); } }
.enquiry-header { background: var(--blue); padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; }
.enquiry-header h3 { color: white; font-size: 1.05rem; font-weight: 700; margin: 0; }
.enquiry-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; flex-shrink: 0; transition: background var(--transition); }
.enquiry-close:hover { background: rgba(255,255,255,0.35); }
.enquiry-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.enquiry-body .form-group { display: flex; flex-direction: column; gap: 6px; }
.enquiry-body label { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.enquiry-body input, .enquiry-body textarea { padding: 12px 14px; border: 1.5px solid #dcdcdc; border-radius: var(--radius); font-family: var(--font); font-size: 0.9rem; color: var(--dark); transition: border-color var(--transition); }
.enquiry-body input:focus, .enquiry-body textarea:focus { outline: none; border-color: var(--blue); }
.enquiry-body textarea { resize: vertical; min-height: 90px; }
.enquiry-body .btn-enquire { margin-top: 4px; font-size: 0.95rem; padding: 14px 20px; }

/* ---- TRUST BAR ---- */
.trust-bar { background: #15214f; padding: 20px 0; overflow: hidden; }
.trust-track { display: flex; justify-content: center; align-items: center; }
.trust-set { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-set[aria-hidden="true"] { display: none; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500; }
.trust-item svg { color: #7EC8F8; width: 20px; height: 20px; flex-shrink: 0; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 40px; }
.section-header.centered { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1rem; }

/* ---- SERVICE CARDS ---- */
.service-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); display: flex; flex-direction: column; }
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 26px; height: 26px; color: var(--blue); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; flex: 1; margin-bottom: 16px; }
.service-card .link-arrow { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--blue); margin-top: auto; }
.service-card .link-arrow svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .link-arrow svg { transform: translateX(4px); }

/* Need Help Now — full-width banner below the services grid */
.help-now { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--blue); border-radius: var(--radius-lg); padding: 28px 36px; margin-top: 24px; }
.help-now-text { display: flex; align-items: center; gap: 20px; }
.help-now-icon { width: 56px; height: 56px; flex-shrink: 0; background: rgba(255,255,255,0.18); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.help-now-icon svg { width: 28px; height: 28px; }
.help-now h3 { color: var(--white); margin-bottom: 4px; }
.help-now p { color: #ffffff; font-size: 0.9rem; margin: 0; max-width: 520px; }
.help-now-actions { display: flex; gap: 12px; flex-shrink: 0; }
.help-now-actions .btn-whatsapp { width: auto; }

/* Homepage video — full-bleed (edge to edge), autoplays muted on scroll */
.video-wrap { width: 100vw; margin-left: 50%; transform: translateX(-50%); line-height: 0; }
.video-wrap video { width: 100%; height: auto; display: block; background: var(--dark); }

/* Sub-service list card */
.sub-service-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sub-service-list a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius); font-size: 0.875rem; color: var(--grey); font-weight: 500; transition: all var(--transition); border: 1px solid transparent; }
.sub-service-list a:hover { color: var(--blue); background: var(--blue-light); border-color: var(--border); }
.sub-service-list a::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* Related service links (service sub-pages sidebar) */
.related-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: var(--dark); border: 1.5px solid var(--border); margin-bottom: 8px; transition: all var(--transition); }
.related-link:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-light); }
.related-link span { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; display: block; }

/* Hero CTA button group — page-hero, location-hero */
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---- REVIEWS ---- */
.reviews-grid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.reviews-grid::-webkit-scrollbar { display: none; }
.review-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.review-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review-stars svg { width: 18px; height: 18px; color: #F59E0B; }
.review-text { font-size: 0.9rem; color: var(--grey); margin-bottom: 16px; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 38px; height: 38px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.875rem; color: var(--dark); }
.review-location { font-size: 0.75rem; color: var(--grey); }
.review-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600; color: var(--blue); margin-bottom: 24px; }
.google-badge { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--dark); text-decoration: none; box-shadow: 0 2px 8px rgba(21,33,79,0.08); transition: transform .3s ease, box-shadow .3s ease; -webkit-tap-highlight-color: transparent; }
.google-badge:hover, .google-badge:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(21,33,79,0.15); }
.google-badge .gb-stars { color: #FBBC05; letter-spacing: 1px; font-size: 0.95rem; line-height: 1; }
.google-badge .gb-text strong { color: var(--blue); font-weight: 700; }
@media (max-width: 480px) { .google-badge { padding: 7px 14px; font-size: 0.8rem; gap: 7px; } }

/* ---- PROCESS STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 24px 16px; }
.step-num { width: 52px; height: 52px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; margin: 0 auto 16px; }
.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.875rem; }

/* ---- ABOUT / USP SECTION ---- */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usp-card { padding: 28px; background: var(--grey-light); border-radius: var(--radius-lg); }
.usp-icon { width: 48px; height: 48px; background: var(--blue); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.usp-icon svg { width: 24px; height: 24px; color: var(--white); }
.usp-card h3 { margin-bottom: 8px; font-size: 1rem; }
.usp-card p { font-size: 0.875rem; }

/* ---- PROJECTS / GALLERY ---- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Homepage projects — JS-driven infinite draggable carousel (desktop + mobile) */
.projects-carousel { overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.projects-carousel.dragging { cursor: grabbing; }
.projects-carousel .projects-track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.projects-carousel .project-card { flex: 0 0 360px; }
.projects-carousel .project-card img { pointer-events: none; -webkit-user-drag: none; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); position: relative; aspect-ratio: 4/3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; opacity: 0.9; }
.project-card:hover img { transform: scale(1.05); opacity: 1; }
.project-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 24px 20px 20px; }
.project-overlay h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.project-overlay span { color: rgba(255,255,255,0.7); font-size: 0.8rem; display: block; }
.project-overlay .project-tag { display: inline-block; background: var(--blue); color: var(--white); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 100px; margin-bottom: 8px; }
/* Featured case-study grid: 2 columns, taller portrait-friendly cards */
.projects-grid-feature { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.projects-grid-feature .project-card { aspect-ratio: 3/2; }

/* ---- PROJECT DETAIL GALLERY (case study pages) ---- */
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.project-gallery .gallery-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--grey-light); }
.project-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-gallery .gallery-item:hover img { transform: scale(1.04); }

/* ---- GALLERY GRID (projects index) ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid .gallery-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--grey-light); position: relative; }
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }

/* ---- FAQ ACCORDION ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition); }
.faq-item[open] { border-color: var(--blue); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1rem; color: var(--dark); cursor: pointer; list-style: none; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--blue); border-radius: 2px; transition: transform var(--transition); }
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p { font-size: 0.95rem; color: var(--grey); }

/* ---- ABOUT PAGE ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ---- CONTACT SECTION ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; color: var(--blue); }
.contact-item h4 { margin-bottom: 4px; font-size: 0.875rem; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: var(--grey); }
.contact-item a:hover { color: var(--blue); }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 4px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.875rem; padding: 4px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--dark); font-weight: 500; }
.hours-row .time { color: var(--grey); }

/* Contact Form */
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
.contact-form h3 { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: 0.9rem; color: var(--dark); background: var(--white); transition: border-color var(--transition); width: 100%; }
.form-group select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23196BD4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; cursor: pointer; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { grid-column: 1 / -1; }
.form-submit .btn { width: 100%; justify-content: center; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: rgba(255,255,255,0.86); }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.86); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 16px; height: 16px; color: rgba(255,255,255,0.8); }
.footer-col h3 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.82); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--white); }
.footer-hours { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-hours div { margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.86); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.footer-bottom-links a:hover { color: var(--white); }
.footer-nap { background: rgba(255,255,255,0.05); padding: 20px; border-radius: var(--radius); margin-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-nap strong { color: rgba(255,255,255,0.85); display: block; margin-bottom: 4px; }

/* ---- CTA BANNER ---- */
.cta-banner { background: linear-gradient(135deg, #0c1830, #196BD4); padding: 64px 0; }
.cta-banner-inner { text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- LOCATION PAGE SPECIFIC ---- */
.location-hero { background: linear-gradient(135deg, #1457AA 0%, #196BD4 100%); padding: 48px 0; }
.location-hero h1 { color: var(--white); margin-bottom: 12px; }
.location-hero p { color: rgba(255,255,255,0.8); max-width: 600px; }
.location-breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.location-breadcrumb a { color: rgba(255,255,255,0.7); }
.location-breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 6px; }
.location-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.local-fact { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 16px 0; }
.local-fact p { font-size: 0.875rem; color: var(--dark); }

/* ---- INNER PAGE HERO ---- */
.page-hero { background: linear-gradient(135deg, #1457AA, #196BD4); padding: 44px 0; }
.page-hero .section-label { color: rgba(255,255,255,0.7); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 6px; }

/* ---- PPC LANDING PAGE ---- */
.lp-header { background: var(--white); border-bottom: 2px solid var(--blue); padding: 16px 0; }
.lp-header-inner { display: flex; justify-content: space-between; align-items: center; }
.lp-nav-links { display: flex; gap: 20px; }
.lp-nav-links a { font-size: 0.875rem; font-weight: 600; color: var(--grey); }
.lp-nav-links a:hover { color: var(--blue); }
.lp-hero { background: linear-gradient(135deg, #0c1830, #15214f); padding: 72px 0; }
.lp-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lp-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.lp-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 24px; }
.lp-hero ul { list-style: none; margin-bottom: 32px; }
.lp-hero ul li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 10px; }
.lp-hero ul li svg { color: #7EC8F8; width: 18px; height: 18px; flex-shrink: 0; }
.lp-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.lp-form-card h3 { margin-bottom: 4px; }
.lp-form-card .sub { font-size: 0.875rem; color: var(--grey); margin-bottom: 20px; }

/* ---- CHIPS / BADGES ---- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: #F0FDF4; color: var(--success); }
.badge-dark { background: var(--dark); color: var(--white); }

/* ---- UTILITIES ---- */
.bg-grey { background: var(--grey-light); }
.bg-dark { background: var(--dark); }
.bg-blue { background: var(--blue); }
.text-blue { color: var(--blue); }
.text-white { color: var(--white); }
.text-grey { color: var(--grey); }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ---- STICKY MOBILE CTA ---- */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; }
.sticky-call { display: flex; align-items: center; justify-content: center; gap: 16px; background: var(--blue); color: var(--white); text-decoration: none; width: 100%; padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 22px rgba(0,0,0,0.24); transition: background var(--transition); }
.sticky-call:hover, .sticky-call:active { background: var(--blue-dark); color: var(--white); }
.sticky-call .sc-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.sticky-call .sc-icon svg { width: 28px; height: 28px; }
.sticky-call .sc-text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.12; }
.sticky-call .sc-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 1; }
.sticky-call .sc-num { font-size: 1.85rem; font-weight: 800; letter-spacing: 0.01em; }


/* Blank image placeholders (until real images supplied) */
.img-placeholder { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 12px, #e7ebf2 12px, #e7ebf2 24px); border: 2px dashed #c4cdda; border-radius: 16px; color: #8893a6; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; min-height: 200px; }

/* Promo band (10% off) */
.promo-band { padding: 56px 0; background: var(--navy); }
.promo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.promo-img { width: 100%; height: 320px; object-fit: cover; object-position: center; border-radius: 16px; display: block; }
.promo-text h2 { color: var(--white); font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 6px 0 12px; }
.promo-text p { color: rgba(255,255,255,0.85); margin-bottom: 22px; line-height: 1.6; }
@media (max-width: 768px) { .promo-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; } .promo-img { height: 220px; } }

/* Why JLP image block */
.why-image-block { width: 100%; height: 440px; object-fit: cover; object-position: center 30%; border-radius: 16px; display: block; }
@media (max-width: 768px) { .why-image-block { height: 240px; } }

/* Accreditations row */
.accred-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; }
.accred-logo { min-height: 124px; border-radius: 12px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 18px 22px; }
.accred-logo img { max-width: 100%; max-height: 82px; object-fit: contain; display: block; }
@media (max-width: 768px) { .accred-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .accred-row { grid-template-columns: repeat(2, 1fr); } }

/* Social proof band */
.social-band { padding: 40px 0; background: var(--blue-light); }
.social-inner { display: flex; align-items: center; gap: 24px; max-width: 980px; margin: 0 auto; }
.social-icon-wrap { width: 64px; height: 64px; border-radius: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.social-text { flex: 1; }
.social-text h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 4px 0 6px; }
.social-text p { color: #475569; font-size: 0.92rem; }
.social-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.social-ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); border: none; }
.social-ig:hover { filter: brightness(1.08); background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.social-cta .btn { justify-content: center; }
@media (max-width: 768px) {
  .social-band { padding: 32px 0; }
  .social-inner { flex-direction: column; text-align: center; gap: 16px; }
  .social-cta { width: 100%; }
}

/* Location map band */
.map-band { padding: 56px 0; background: var(--white); }
.map-head { text-align: center; margin-bottom: 28px; }
.map-head h2 { margin-bottom: 8px; }
.map-head p { color: var(--grey); }
.map-embed { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md, 0 10px 30px rgba(21,33,79,0.12)); max-width: 980px; margin: 0 auto; line-height: 0; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }
@media (max-width: 768px) { .map-band { padding: 40px 0; } .map-embed iframe { height: 280px; } }

/* Join the team band */
.join-band { background: var(--navy); background-image: linear-gradient(120deg, rgba(25,107,212,0.25), transparent 60%); padding: 64px 0; }
.join-inner { max-width: 680px; }
.join-band h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; }
.join-band p { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; margin-bottom: 26px; }
@media (max-width: 768px) { .join-band { padding: 48px 0; text-align: center; } .join-inner { margin: 0 auto; } }

/* Areas We Cover — tighter, denser chips */
.areas-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 920px; margin: 0 auto; }
.areas-grid .badge { font-size: 0.8rem; padding: 6px 13px; }
.badge-muted { background: #F7F8FA; color: #4A4A4A; }

/* ============================================
   RESPONSIVE — COMPREHENSIVE MOBILE REDESIGN
   ============================================ */

/* ---- NAV COLLAPSE (≤1380px) — switch to hamburger before the 9 items crowd the
   logo, without pulling in the full mobile layout (sections stay desktop to 768px) ---- */
@media (max-width: 1380px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; min-width: 48px; min-height: 48px; justify-content: center; align-items: center; }
}

/* ---- TABLET (1024px) ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 32px; }
}

/* ---- MOBILE (768px and below) ---- */
@media (max-width: 768px) {

  /* === BASE SPACING === */
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .section-lg { padding: 60px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header.centered { max-width: 100%; }

  /* === TOPBAR — HIDE ON MOBILE === */
  .topbar { display: none; }
  .topbar-links { display: none; }

  /* === TOUCH TARGETS — all interactive elements ≥ 48px === */
  .btn { min-height: 48px; }
  .skip-nav { min-height: 48px; display: inline-flex; align-items: center; }
  /* NAP inline links — block on mobile for tappable height */
  .footer-nap a { display: block; min-height: 48px; padding: 8px 0; }

  /* === HEADER === */
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; min-width: 48px; min-height: 48px; justify-content: center; align-items: center; }
  .header-inner { padding: 14px 0; }
  .logo { min-height: 48px; display: inline-flex; align-items: center; }
  .logo img { height: 52px; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub { font-size: 0.82rem; }

  /* === HERO === */
  .hero {
    padding: 26px 0 26px;
    min-height: 0;
    background-size: cover;
    background-position: center;
    align-items: flex-start;
  }
  /* Force the headline onto two lines on mobile */
  .br-mobile { display: inline; }
  /* Fleet photo faded to ~50% — slightly darker at top for the headline */
  .hero::before {
    background: linear-gradient(180deg, rgba(21,33,79,0.58) 0%, rgba(21,33,79,0.50) 100%);
  }
  .hero::after { content: none; }
  .hero-overlay { background: transparent; }
  .hero-inner { grid-template-columns: 1fr; gap: 18px; align-items: flex-start; width: 100%; }
  /* Grid items must allow shrinking below their min-content (nowrap badge, wide selects) */
  .hero-content { min-width: 0; }
  .hero-card, .hero-form-bare { min-width: 0; max-width: none; }
  .hero-content h1 {
    font-size: clamp(1.5rem, 7.4vw, 2.3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.015em;
  }
  .hero-line { width: 48px; height: 4px; margin: 14px 0 12px; opacity: 0.75; }
  .hero-content > p { font-size: 0.8rem; line-height: 1.5; max-width: 100%; }

  /* Mobile trust badge inside hero */
  .hero-stars-mobile {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 100px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin-top: 18px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
  }
  .hero-stars-mobile .stars { color: #FBBF24; font-size: 0.92rem; letter-spacing: 2px; flex-shrink: 0; }
  .hero-stars-mobile strong { font-weight: 800; }
  .hero-stars-mobile .rev-count { font-weight: 600; }

  /* Hero card */
  .hero-card { padding: 24px 20px; border-radius: 20px; gap: 13px; box-shadow: 0 24px 64px rgba(0,0,0,0.32); }
  .hero-card h3 { font-size: 1.05rem; font-weight: 700; }
  .hero-select { font-size: 1rem; padding: 14px 40px 14px 16px; border-radius: 10px; }
  .hero-input { font-size: 1rem; padding: 14px 16px; border-radius: 10px; }
  .btn-enquire { padding: 17px 20px; font-size: 1rem; font-weight: 700; border-radius: 10px; }
  .btn-whatsapp { padding: 15px 20px; font-size: 0.93rem; border-radius: 10px; }

  /* === TRUST BAR === */
  /* === TRUST BAR — infinite auto-scroll marquee on mobile === */
  .trust-bar { padding: 12px 0; }
  .trust-set[aria-hidden="true"] { display: flex; }
  .trust-set { flex-wrap: nowrap; gap: 28px; padding-right: 28px; }
  .trust-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: trust-marquee 22s linear infinite;
  }
  @keyframes trust-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .trust-item { white-space: nowrap; flex-shrink: 0; font-size: 0.8rem; gap: 7px; }
  .trust-item svg { width: 16px; height: 16px; }

  /* === ALL BASIC GRIDS === */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  /* === SERVICES — FULL WIDTH PREMIUM CARDS === */
  /* === SERVICES — 2-column compact grid === */
  .services-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .services-grid .service-card { padding: 18px 14px; border-radius: 16px; }
  /* max-height clamp: flex:1 from .service-card p overrides -webkit-box so use height cap instead */
  .services-grid .service-card > p { display: block; overflow: hidden; max-height: calc(3 * 1.7em); font-size: 0.78rem; color: var(--grey); flex: none; }
  .services-grid .service-icon { width: 40px; height: 40px; margin-bottom: 10px; border-radius: 10px; }
  .services-grid .service-icon svg { width: 20px; height: 20px; }
  .services-grid .service-card h3 { font-size: 0.9rem; margin-bottom: 6px; font-weight: 700; }
  /* Sub-service list hidden in compact 2-col — "view all" link leads to full page */
  .services-grid .sub-service-list { display: none; }
  .services-grid .service-card .link-arrow { font-size: 0.8rem; margin-top: auto; padding: 10px 0; min-height: 48px; }
  .services-grid .service-card:last-child { grid-column: auto; }

  /* Need Help Now banner stacks on mobile */
  .help-now { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 18px; gap: 18px; }
  .help-now-text { flex-direction: column; text-align: center; gap: 12px; }
  .help-now p { max-width: 100%; }
  .help-now-actions { flex-direction: column; }
  .help-now-actions .btn, .help-now-actions .btn-whatsapp { width: 100%; justify-content: center; }

  /* === PROJECTS — FEATURED HERO + 2-COL === */
  .projects-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }
  /* === PROJECTS PAGE — vertical scroll grid === */
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .project-card { border-radius: 14px; }
  .project-overlay { padding: 16px 14px 14px; }
  .project-overlay h3 { font-size: 0.875rem; margin-bottom: 2px; }
  .project-overlay span { font-size: 0.72rem; }
  .project-overlay .project-tag { font-size: 0.6rem; padding: 3px 7px; margin-bottom: 6px; }
  /* Featured case-study cards go full width on mobile for impact */
  .projects-grid-feature { grid-template-columns: 1fr; gap: 16px; }
  .projects-grid-feature .project-card { aspect-ratio: 4/3; }
  /* Galleries — 2 columns on mobile */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .project-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* === HOMEPAGE PROJECTS — JS infinite carousel: full-bleed, original depth === */
  .projects-carousel { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
  .projects-carousel .projects-track { gap: 12px; padding: 0 14px; }
  /* explicit height (not just aspect-ratio) so depth is identical on every device */
  .projects-carousel .project-card { flex: 0 0 90vw; height: 60vw; aspect-ratio: auto; border-radius: 16px; }

  /* === WHY JLP — HORIZONTAL ICON + TEXT CARDS === */
  .usp-grid { grid-template-columns: 1fr; gap: 12px; }
  .usp-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-areas: "icon title" "icon text";
    column-gap: 16px;
    row-gap: 5px;
    padding: 18px 20px;
    border-radius: 14px;
    align-items: start;
    background: var(--white);
    border: 1.5px solid var(--border);
  }
  .usp-icon { grid-area: icon; width: 46px; height: 46px; margin-bottom: 0; border-radius: 10px; align-self: center; }
  .usp-icon svg { width: 22px; height: 22px; }
  .usp-card h3 { grid-area: title; font-size: 0.975rem; margin-bottom: 0; }
  .usp-card p { grid-area: text; font-size: 0.855rem; line-height: 1.55; }

  /* === HOW IT WORKS — VERTICAL TIMELINE === */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-areas: "num title" "num text";
    column-gap: 18px;
    row-gap: 5px;
    text-align: left;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
  }
  .step:first-child { padding-top: 0; }
  .step:last-child { border-bottom: none; padding-bottom: 0; }
  .step-num { grid-area: num; width: 44px; height: 44px; font-size: 1rem; margin: 0; align-self: center; }
  .step h3 { grid-area: title; font-size: 0.975rem; margin-bottom: 0; }
  .step p { grid-area: text; font-size: 0.875rem; }

  /* === VIDEO === */

  /* === REVIEWS — SWIPE CAROUSEL WITH DOTS === */
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 18px 8px;
    margin: 0 -18px;
    scrollbar-width: none;
    scroll-padding-left: 18px;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 88%; scroll-snap-align: start; border-radius: 14px; }
  .reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .reviews-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    padding: 0;
    min-width: 9px;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .reviews-dot.active { background: var(--blue); transform: scale(1.3); }
  /* Expand dot touch area without changing visual size */
  .reviews-dot { position: relative; }
  .reviews-dot::after { content: ''; position: absolute; inset: -20px; }

  /* === AREAS COVERED === */
  /* Area badges are tappable links — meet 48px touch target */
  .badge { padding: 11px 16px; font-size: 0.8rem; min-height: 48px; }

  /* === CTA BANNER === */
  .cta-banner { padding: 48px 0; }
  .cta-banner h2 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .cta-banner p { font-size: 0.9rem; max-width: 100%; padding: 0 4px; margin-bottom: 24px; }
  .cta-banner .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
  }
  .cta-banner .btn-group .btn { justify-content: center; padding: 16px 24px; font-size: 0.975rem; }

  /* === SERVICE CARD COMPACT BUTTONS — fit within narrow 2-col card (~135px inner) === */
  .services-grid .service-card .btn,
  .services-grid .service-card .btn-whatsapp { padding: 13px 10px; font-size: 0.8rem; gap: 7px; }
  .services-grid .service-card .btn-whatsapp svg { width: 17px; height: 17px; }

  /* === PAGE/LOCATION HERO BUTTONS — full width stacked on mobile === */
  .hero-btns { flex-direction: column; margin-top: 20px; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* === FORMS — 16px font-size prevents iOS auto-zoom on input focus === */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px !important; }

  /* === ABOUT === */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  /* === CONTACT === */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; border-radius: 14px; }

  /* === FOOTER === */
  .footer-top { padding: 40px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
  .footer-social { gap: 12px; margin-top: 14px; }
  .footer-social a { width: 48px; height: 48px; }
  .footer-social svg { width: 18px; height: 18px; }
  .footer-col { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
  .footer-col ul li a { display: block; padding: 13px 0; }
  .footer-contact-item { min-height: 48px; }
  .footer-contact-item a { display: inline-flex; align-items: center; padding: 6px 0; min-height: 48px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 16px 0; }
  .footer-bottom-links { gap: 16px; }
  .footer-bottom-links a { display: inline-flex; align-items: center; padding: 14px 0; min-height: 48px; }

  /* === LP / LANDING PAGES === */
  .lp-hero-inner { grid-template-columns: 1fr; gap: 32px; }

  /* === LOCATION PAGES === */
  .location-services { grid-template-columns: 1fr; }

  /* === CONTENT + SIDEBAR === */
  .content-sidebar { grid-template-columns: 1fr !important; gap: 32px !important; }
  .content-sidebar .sidebar-sticky { position: static !important; }

  /* === INNER 2-COL (generated pages) === */
  .inner-2col { grid-template-columns: 1fr !important; }

  /* === STICKY CALL BAR — shown on mobile, safe-area inset handled on .sticky-call === */
  .sticky-cta { display: block; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- SMALL PHONE (430px) ---- */
@media (max-width: 430px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .reviews-grid { padding: 4px 16px 8px; margin: 0 -16px; }
  .review-card { flex: 0 0 92%; }
}

/* ---- COMPACT PHONE (375px) ---- */
@media (max-width: 375px) {
  .hero-card { padding: 20px 16px; }
  .hero-stars-mobile { font-size: 0.77rem; padding: 7px 13px; }
  .sticky-call { font-size: 0.98rem; }
  .review-card { flex: 0 0 94%; }
  .badge { padding: 7px 12px; font-size: 0.78rem; }
  .usp-card { padding: 16px 16px; }
  .step { padding: 18px 0; }
}

/* ---- TINY PHONE (320px) ---- */
@media (max-width: 320px) {
  .container { padding: 0 14px; }
  .hero-card { padding: 18px 14px; gap: 11px; }
  .hero-stars-mobile { display: none; }
  .cta-banner h2 { font-size: 1.2rem; }
  .footer-bottom-links { flex-direction: column; gap: 8px; }
  /* Match reviews bleed to 14px container padding */
  .reviews-grid { margin: 0 -14px; padding: 4px 14px 8px; }
  .sticky-call { font-size: 0.9rem; gap: 8px; }
}

/* ---- SKIP NAVIGATION ---- */
.skip-nav { position: absolute; top: -60px; left: 16px; background: var(--blue); color: var(--white); padding: 10px 18px; border-radius: 0 0 var(--radius) var(--radius); font-weight: 700; font-size: 0.875rem; text-decoration: none; z-index: 9999; transition: top 0.2s ease; }
.skip-nav:focus { top: 0; outline: 3px solid var(--white); outline-offset: 2px; }

/* ---- FOCUS VISIBLE ---- */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--radius); }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ===== HOMEPAGE DESKTOP REFINEMENTS ===== */

/* Reviews dots — styled on desktop too (mobile media already styles them) */
.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.reviews-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); cursor: pointer; border: none; padding: 0; min-width: 9px; position: relative; transition: background 0.25s ease, transform 0.25s ease; }
.reviews-dot.active { background: var(--blue); transform: scale(1.3); }

/* Projects carousel embedded inside a service page (contained, not full-bleed) */
.content-sidebar > div { min-width: 0; }
.svc-carousel { margin: 10px 0 4px; min-width: 0; max-width: 100%; overflow: hidden; }
.svc-carousel .projects-carousel { width: auto; min-width: 0; max-width: 100%; margin-left: 0; -webkit-mask-image: none; mask-image: none; }
.svc-carousel .section-header { margin-bottom: 16px; }

/* Reviews — continuous infinite-roll carousel (same engine as the projects carousel) */
.reviews-roll { overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.reviews-roll.dragging { cursor: grabbing; }
.reviews-roll .reviews-track { display: flex; gap: 20px; width: max-content; align-items: stretch; will-change: transform; }
.reviews-roll .review-card { flex: 0 0 360px; }
@media (max-width: 480px) { .reviews-roll .review-card { flex: 0 0 86vw; } }

/* "Watch Our Work" video — shown on mobile only, hidden on desktop */
.mobile-only { display: none; }

@media (min-width: 769px) {
  /* Reviews: desktop rolling carousel — 3 cards in view, auto-rolls (main.js drives it) */
  .reviews-grid > .review-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }

  /* Projects carousel: full-bleed to the page edge with soft faded sides
     (removes the hard straight cut-off lines) — desktop only */
  .projects-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
}

@media (max-width: 768px) {
  /* Show the video section on mobile */
  .mobile-only { display: block; }
  /* Even out the spacing under the "Need Help Now?" CTA on mobile */
  .help-now-section { padding-bottom: 24px; }
}
