/* ===================================================================
   4 Seasons Property Maintenance — Shared Stylesheet
   Fonts: Montserrat (headings) + Inter (body) via Google Fonts
   =================================================================== */

:root {
  --blue:        #1e73be;
  --blue-dark:   #155a96;
  --navy:        #1a1a2e;
  --navy-2:      #232342;
  --white:       #ffffff;
  --grey-light:  #f5f7fa;
  --grey-border: #e8e8e8;
  --text-dark:   #2b2b33;
  --text-mid:    #555f6b;
  --shadow-sm:   0 2px 10px rgba(26,26,46,.06);
  --shadow-md:   0 10px 30px rgba(26,26,46,.10);
  --shadow-lg:   0 24px 60px rgba(26,26,46,.18);
  --radius:      14px;
  --radius-sm:   10px;
  --maxw:        1200px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .h-font {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--grey { background: var(--grey-light); }
.section--tight { padding: 64px 0; }

/* ---- Section heading block ---- */
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  position: relative;
  padding-left: 38px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 28px; height: 2px; background: var(--blue); transform: translateY(-50%);
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { padding-left: 0; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-sub { color: var(--text-mid); font-size: 1.06rem; margin-top: 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem;
  padding: 15px 30px; border-radius: 50px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  letter-spacing: .01em;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(30,115,190,.35); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,115,190,.45); color:#fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-3px); color:#fff; }
.btn--lg { padding: 17px 38px; font-size: 1rem; }

/* ===================================================================
   TOP BAR
   =================================================================== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .86rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; stroke: var(--blue); }
.topbar-left { display: flex; gap: 26px; }
.topbar-right { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar-right svg { stroke: #ffce54; fill: #ffce54; }

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--grey-border);
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .88rem;
  color: var(--navy); padding: 8px 12px; border-radius: 6px; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn {
  padding: 9px 18px;
  font-size: .82rem;
  border-radius: 6px;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #1e73be 0%, #2a9fd6 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(30,115,190,.32);
}
.nav-cta .btn:hover {
  background: linear-gradient(135deg, #155fa0 0%, #1e73be 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30,115,190,.42);
}
.nav-cta .btn::after { display: none; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.hamburger span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .3s var(--ease); }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---- Dropdown ---- */
.has-dropdown { position: relative; }
.dropdown-toggle {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .88rem;
  color: var(--navy); padding: 8px 12px; border-radius: 6px;
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s var(--ease); white-space: nowrap;
}
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform .25s var(--ease); flex-shrink: 0; }
.dropdown-toggle:hover, .dropdown-toggle.active { color: var(--blue); }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--grey-border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); list-style: none; padding: 5px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 200;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 9px 13px; border-radius: 5px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .86rem;
  color: var(--navy); transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--grey-light); color: var(--blue); }
.dropdown li a.active { color: var(--blue); background: #e7f1fb; }

/* ===================================================================
   HERO (home — slider)
   =================================================================== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,18,38,.92) 0%, rgba(20,32,60,.78) 45%, rgba(30,115,190,.42) 100%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero-copy { color: #fff; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 22px; }
.hero h1 .hl { color: #7cc0ff; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-slide-label {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3;
}
.hero-dots { display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 32px; height: 5px; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.active { background: #fff; width: 48px; }

/* Quote card */
.quote-card {
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg);
  position: relative;
}
.quote-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.quote-card .qc-sub { color: var(--text-mid); font-size: .94rem; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; font-family: 'Montserrat',sans-serif; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--grey-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--text-dark); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,115,190,.13); }
.field textarea { resize: vertical; min-height: 90px; }
.quote-card .btn { width: 100%; justify-content: center; }
.quote-card .qc-note { font-size: .78rem; color: var(--text-mid); text-align: center; margin-top: 12px; }

/* ===================================================================
   STATS STRIP
   =================================================================== */
.stats { background: var(--blue); overflow: hidden; }
.stats-track { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 46px 0; }
.stats-track .stat[aria-hidden="true"] { display: none; }
.stat { text-align: center; color: #fff; position: relative; }
.stat:not(:last-child)::after { content:""; position:absolute; right:-12px; top:10%; bottom:10%; width:1px; background:rgba(255,255,255,.22); }
.stat .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(2rem,3.5vw,2.8rem); line-height: 1; }
.stat .label { font-size: .9rem; color: rgba(255,255,255,.85); margin-top: 8px; letter-spacing: .02em; }

/* ===================================================================
   SERVICES GRID
   =================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--grey-border); border-radius: var(--radius); padding: 34px 28px;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content:""; position:absolute; left:0; top:0; height:4px; width:100%; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, #e7f1fb, #d2e6f8); color: var(--blue); transition: all .35s var(--ease);
}
.service-card:hover .service-icon { background: var(--blue); color:#fff; transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card ul { list-style: none; margin: 0 0 22px; }
.service-card ul li { font-size: .92rem; color: var(--text-mid); padding-left: 24px; position: relative; margin-bottom: 8px; }
.service-card ul li::before {
  content:""; position:absolute; left:0; top:8px; width:14px; height:8px;
  border-left:2px solid var(--blue); border-bottom:2px solid var(--blue); transform: rotate(-45deg);
}
.service-card .card-link { margin-top: auto; font-family:'Montserrat',sans-serif; font-weight:700; font-size:.9rem; display:inline-flex; align-items:center; gap:8px; }
.service-card .card-link svg { width:16px; height:16px; transition: transform .25s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(5px); }

/* ===================================================================
   2-COLUMN FEATURE BLOCKS
   =================================================================== */
.feature-2col { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.feature-img { position:relative; }
.feature-img img { border-radius: var(--radius); box-shadow: var(--shadow-md); width:100%; height: 460px; object-fit: cover; }
.feature-img .badge {
  position:absolute; bottom:-22px; right:-22px; background:var(--navy); color:#fff; padding:22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align:center;
}
.feature-img .badge .b-num { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.7rem; color:#7cc0ff; }
.feature-img .badge .b-txt { font-size:.8rem; color:rgba(255,255,255,.8); }

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.why-list { display:grid; gap:22px; margin-top: 30px; }
.why-item { display:flex; gap:18px; align-items:flex-start; }
.why-item .wi-icon { flex:0 0 auto; width:52px; height:52px; border-radius:13px; background:#e7f1fb; color:var(--blue); display:grid; place-items:center; }
.why-item .wi-icon svg { width:26px; height:26px; }
.why-item h4 { font-size:1.1rem; margin-bottom:5px; }
.why-item p { color:var(--text-mid); font-size:.95rem; }

/* ===================================================================
   DARK CTA BANNER
   =================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #2a3f63 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content:""; position:absolute; right:-80px; top:-80px; width:360px; height:360px; border-radius:50%;
  background: radial-gradient(circle, rgba(30,115,190,.45), transparent 70%);
}
.cta-banner .container { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; padding: 64px 24px; }
.cta-banner h2 { color:#fff; font-size: clamp(1.7rem,3vw,2.4rem); max-width: 620px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-top:10px; }
.cta-banner .cta-actions { display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
.cta-phone { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.9rem; color:#fff; display:inline-flex; align-items:center; gap:12px; }
.cta-phone svg { width:30px; height:30px; stroke:#7cc0ff; }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.testi-card { background:#fff; border:1px solid var(--grey-border); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { display:flex; gap:3px; margin-bottom:16px; }
.stars svg { width:18px; height:18px; fill:#ffce54; }
.testi-card .quote { color:var(--text-dark); font-size:1rem; margin-bottom:22px; }
.testi-author { display:flex; align-items:center; gap:13px; }
.testi-avatar { width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--blue-dark)); color:#fff; display:grid; place-items:center; font-family:'Montserrat',sans-serif; font-weight:700; }
.testi-author .ta-name { font-family:'Montserrat',sans-serif; font-weight:700; font-size:.95rem; }
.testi-author .ta-loc { font-size:.82rem; color:var(--text-mid); }

/* ===================================================================
   GALLERY
   =================================================================== */
.gallery-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; }
.gallery-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.gallery-item { position:relative; overflow:hidden; border-radius:var(--radius-sm); aspect-ratio: 4/3; cursor:pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.gallery-item::after {
  content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(26,26,46,.5), transparent 55%); opacity:0; transition:opacity .3s;
}
.gallery-item .gi-plus { position:absolute; inset:0; display:grid; place-items:center; opacity:0; transform:scale(.8); transition:all .3s var(--ease); z-index:2; }
.gallery-item .gi-plus span { width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--blue); display:grid; place-items:center; font-size:1.6rem; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity:1; }
.gallery-item:hover .gi-plus { opacity:1; transform:scale(1); }

/* Video grid */
.video-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.video-item { position:relative; overflow:hidden; border-radius:var(--radius-sm); aspect-ratio: 9/16; background:#000; }
.video-item video { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox { position:fixed; inset:0; background:rgba(10,12,24,.92); z-index:2000; display:none; align-items:center; justify-content:center; padding:30px; }
.lightbox.open { display:flex; }
.lightbox img { max-width:92vw; max-height:88vh; border-radius:8px; box-shadow:var(--shadow-lg); }
.lightbox .lb-close { position:absolute; top:24px; right:30px; background:none; border:0; color:#fff; font-size:2.4rem; cursor:pointer; line-height:1; }
.lightbox .lb-nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:0; color:#fff; width:54px; height:54px; border-radius:50%; cursor:pointer; font-size:1.6rem; transition:background .2s; }
.lightbox .lb-nav:hover { background:rgba(255,255,255,.25); }
.lightbox .lb-prev { left:24px; } .lightbox .lb-next { right:24px; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:50px; align-items:start; }
.contact-form { background:#fff; border:1px solid var(--grey-border); border-radius:var(--radius); padding:38px; box-shadow:var(--shadow-sm); }
.contact-form .row2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-info { display:grid; gap:18px; }
.info-card { display:flex; gap:18px; align-items:flex-start; background:#fff; border:1px solid var(--grey-border); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); transition: transform .3s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .ic-icon { flex:0 0 auto; width:52px; height:52px; border-radius:13px; background:var(--blue); color:#fff; display:grid; place-items:center; }
.info-card .ic-icon svg { width:25px; height:25px; }
.info-card h4 { font-size:1rem; margin-bottom:3px; }
.info-card p, .info-card a { color:var(--text-mid); font-size:.95rem; }
.info-card a:hover { color:var(--blue); }
.form-success { display:none; background:#e8f7ee; border:1px solid #b6e3c6; color:#1c7a42; padding:14px 18px; border-radius:var(--radius-sm); margin-bottom:18px; font-size:.92rem; }
.form-success.show { display:block; }

/* ===================================================================
   PAGE HERO (inner pages)
   =================================================================== */
.page-hero {
  position: relative;
  width: 100%;
}
.page-hero .hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(105deg, rgba(15,18,38,.88), rgba(30,115,190,.48)); }
.page-hero .container { position:absolute; inset:0; z-index:2; padding:60px 24px; display:flex; flex-direction:column; justify-content:center; }
.page-hero h1 { color:#fff; font-size: clamp(2.2rem,4.5vw,3.4rem); }
.breadcrumb { color:rgba(255,255,255,.8); font-size:.9rem; margin-top:14px; display:flex; gap:8px; align-items:center; }
.breadcrumb a { color:#7cc0ff; } .breadcrumb a:hover { color:#fff; }

/* service body layout */
.service-body { display:grid; grid-template-columns: 1.4fr .6fr; gap:50px; align-items:start; }
.service-body .lead-text { font-size:1.12rem; color:var(--text-mid); margin-bottom:28px; }
.svc-list-box { background:var(--grey-light); border-radius:var(--radius); padding:30px; border:1px solid var(--grey-border); }
.svc-list-box h3 { font-size:1.2rem; margin-bottom:18px; }
.svc-list-box ul { list-style:none; }
.svc-list-box ul li { padding:11px 0 11px 30px; position:relative; border-bottom:1px solid var(--grey-border); color:var(--text-dark); font-weight:500; }
.svc-list-box ul li:last-child { border-bottom:0; }
.svc-list-box ul li::before {
  content:""; position:absolute; left:0; top:16px; width:14px; height:8px;
  border-left:2.5px solid var(--blue); border-bottom:2.5px solid var(--blue); transform: rotate(-45deg);
}
.svc-cta-box { margin-top:22px; background:var(--blue); color:#fff; border-radius:var(--radius); padding:28px; text-align:center; }
.svc-cta-box p { margin-bottom:14px; font-weight:500; }
.svc-cta-box .svc-phone { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.5rem; color:#fff; display:block; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 72px 0 0; }
.footer-grid { display:grid; grid-template-columns: 1.3fr .8fr .8fr .9fr 1fr; gap:28px; padding-bottom: 50px; }
.footer h4 { color:#fff; font-size:1.05rem; margin-bottom:22px; }
.footer .f-logo { background:#fff; padding:14px 18px; border-radius:10px; display:inline-block; margin-bottom:20px; }
.footer .f-logo img { height:38px; }
.footer p { font-size:.93rem; margin-bottom:14px; }
.footer ul { list-style:none; }
.footer ul li { margin-bottom:11px; }
.footer ul a { color:rgba(255,255,255,.7); font-size:.93rem; transition:color .2s, padding-left .2s; }
.footer ul a:hover { color:#fff; padding-left:5px; }
.footer .f-contact li { display:flex; gap:11px; align-items:flex-start; font-size:.93rem; }
.footer .f-contact svg { width:17px; height:17px; stroke:#7cc0ff; flex:0 0 auto; margin-top:3px; }
.footer .f-contact a { color:rgba(255,255,255,.7); }
.socials { display:flex; gap:10px; margin-top:6px; }
.socials a { width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,.08); display:grid; place-items:center; transition:background .25s, transform .25s; }
.socials a:hover { background:var(--blue); transform:translateY(-3px); }
.socials svg { width:18px; height:18px; fill:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding:22px 0; text-align:center; font-size:.86rem; color:rgba(255,255,255,.55); }

/* ===================================================================
   LOCATIONS GRID
   =================================================================== */
.locations-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.location-card {
  background: #fff; border: 1.5px solid var(--grey-border); border-radius: var(--radius-sm);
  padding: 18px 16px; display: flex; align-items: center; gap: 13px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.location-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.lc-pin {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg,#e7f1fb,#d2e6f8); color: var(--blue);
  display: grid; place-items: center;
}
.lc-pin svg { width: 18px; height: 18px; }
.lc-name { font-family:'Montserrat',sans-serif; font-weight:700; font-size:.9rem; color:var(--navy); }
.lc-dist { font-size:.75rem; color:var(--text-mid); margin-top:2px; }

.coverage-note {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 36px;
  display: flex; align-items: center; gap: 20px; margin-top: 40px;
}
.coverage-note svg { width:32px; height:32px; stroke:#7cc0ff; flex-shrink:0; }
.coverage-note p { font-size:.97rem; color:rgba(255,255,255,.88); }
.coverage-note strong { color:#fff; }

/* ===================================================================
   NAV DROPDOWN — "Maintenance" sub-heading divider
   =================================================================== */
.dropdown-heading {
  padding: 11px 13px 6px; margin-top: 4px; border-top: 1px solid var(--grey-border);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-mid);
}

/* ===================================================================
   SERVICE GRID — 2 rows of 3 (5-6 item grids, centered)
   =================================================================== */
.services-grid--rows2 {
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
}

/* ===================================================================
   SERVICE CARD — compact sub-grid
   =================================================================== */
.services-grid--compact { margin-top: 40px; }
.services-grid--compact .service-card { padding: 28px 24px; }
.services-grid--compact .service-icon { width: 56px; height: 56px; margin-bottom: 18px; }
.services-grid--compact .service-icon svg { width: 28px; height: 28px; }
.services-grid--compact h3 { font-size: 1.15rem; }
.sub-section-head { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; }
.sub-section-head::after { content:""; flex:1; height:1px; background:var(--grey-border); }
.sub-section-head h3 { font-size: 1.1rem; color: var(--navy); white-space: nowrap; }

/* ===================================================================
   BEFORE / AFTER COMPARISON SLIDER
   =================================================================== */
.ba-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); cursor: ew-resize; user-select: none; touch-action: none;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0); }
.ba-slider .ba-label {
  position: absolute; top: 16px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .72rem;
  letter-spacing: .07em; text-transform: uppercase; background: rgba(15,18,38,.65); color: #fff;
  padding: 6px 14px; border-radius: 50px; z-index: 2;
}
.ba-slider .ba-label--before { left: 16px; }
.ba-slider .ba-label--after { right: 16px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba-pos, 50%); width: 0; z-index: 3; transform: translateX(-50%); }
.ba-handle::before { content:""; position: absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; transform:translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba-handle-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); color: var(--blue);
}
.ba-handle-btn svg { width: 20px; height: 20px; }
.ba-slider input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4;
  -webkit-appearance: none; appearance: none;
}
.ba-caption { text-align: center; margin-top: 16px; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--navy); }

/* ===================================================================
   PHOTO PLACEHOLDER (no photo available yet)
   =================================================================== */
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: rgba(255,255,255,.55); text-align: center;
}
.photo-placeholder svg { width: 34px; height: 34px; opacity: .6; }
.photo-placeholder span {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.gallery-item .photo-placeholder { position: absolute; inset: 0; }

/* ===================================================================
   MEET THE TEAM
   =================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 10px; }
.team-card { text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
  display: grid; place-items: center; font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 2.1rem; box-shadow: var(--shadow-sm);
}
.team-avatar.has-photo { background: none; overflow: hidden; padding: 0; }
.team-avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .role { color: var(--blue); font-weight: 600; font-size: .85rem; font-family: 'Montserrat', sans-serif; margin-bottom: 10px; }
.team-card p { color: var(--text-mid); font-size: .9rem; }

/* ===================================================================
   CERTIFICATIONS SLIDER (auto-scrolling strip)
   =================================================================== */
.certs-strip {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.certs-track { display: flex; gap: 46px; width: max-content; animation: certs-scroll 28s linear infinite; }
.certs-strip:hover .certs-track { animation-play-state: paused; }
.cert-item {
  display: flex; align-items: center; justify-content: center; background: #fff;
  border: 1.5px dashed var(--grey-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  width: 168px; height: 96px; flex-shrink: 0;
}
.cert-item.has-logo { border-style: solid; border-color: var(--grey-border-light, #e4e7ee); padding: 10px; }
.cert-item.has-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-photo { color: var(--grey-border); }
.cert-photo svg { width: 34px; height: 34px; }
@keyframes certs-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes stats-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }

/* float CTA on mobile */
.mobile-call { display:none; }

/* ===================================================================
   OVERFLOW LOCK — prevents horizontal drag/scroll on all devices
   overflow-x:clip clips visually without creating a scroll container,
   so position:sticky on the nav still works correctly.
   The hidden fallback covers older Safari (<15.4) that ignores clip.
   =================================================================== */
html {
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* ===================================================================
   RESPONSIVE — 1080px tablet
   =================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .quote-card { max-width: 500px; margin-left: auto; margin-right: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

/* ===================================================================
   RESPONSIVE — 860px mobile
   =================================================================== */
@media (max-width: 860px) {
  /* topbar */
  .topbar .container { height: 38px; font-size: .78rem; }
  .topbar-left { gap: 14px; }

  /* nav */
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; width: 100%;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 32px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
    height: calc(100vh - 68px); overflow-y: auto; overflow-x: hidden;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > li > a { padding: 14px 8px; border-bottom: 1px solid var(--grey-border); border-radius: 0; display: block; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 16px 8px 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  /* mobile dropdown */
  .has-dropdown { position: static; }
  .dropdown-toggle {
    width: 100%; padding: 14px 8px; border-radius: 0;
    border-bottom: 1px solid var(--grey-border);
    justify-content: space-between;
  }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    background: var(--grey-light); padding: 0; display: none; transition: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 13px 28px; border-radius: 0; border-bottom: 1px solid var(--grey-border); }

  /* hero */
  .hero { min-height: auto; padding-bottom: 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .quote-card { max-width: 100%; padding: 28px 22px; }
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.8rem); }
  .hero p.lead { font-size: .98rem; }
  .hero .hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }

  /* sections */
  .section { padding: 56px 0; }
  .section--tight { padding: 48px 0; }

  /* 2-col features */
  .feature-2col { grid-template-columns: 1fr; gap: 32px; }
  .feature-2col--img-last-mobile .feature-img { order: 2; }
  .feature-img img { height: 260px; }
  /* badge pulled inside the image bounds so it can't overflow */
  .feature-img .badge { right: 14px; bottom: 14px; padding: 16px 20px; }
  .feature-img .badge .b-num { font-size: 1.4rem; }

  /* stats — continuous scrolling strip */
  .stats-track {
    display: flex; grid-template-columns: none; gap: 0; width: max-content;
    padding: 28px 0; animation: stats-scroll 16s linear infinite;
  }
  .stats:hover .stats-track { animation-play-state: paused; }
  .stats-track .stat[aria-hidden="true"] { display: block; }
  .stat { flex: 0 0 auto; width: 150px; padding: 0 16px; }
  .stat:not(:last-child)::after { display: none; }
  .stat .num { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .stat .label { font-size: .72rem; margin-top: 6px; line-height: 1.25; }

  /* services */
  .service-body { grid-template-columns: 1fr; gap: 28px; }

  /* testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

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

  /* locations */
  .locations-grid { grid-template-columns: repeat(2,1fr); }
  .coverage-note { flex-direction: column; text-align: center; padding: 24px 20px; }

  /* before/after + team */
  .ba-grid { grid-template-columns: 1fr; gap: 22px; }
  .team-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .services-grid--compact { margin-top: 28px; }

  /* contact */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px 18px; max-width: 100%; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .info-card a { overflow-wrap: break-word; word-break: break-all; }

  /* CTA banner — stack vertically */
  .cta-banner .container { flex-direction: column; align-items: stretch; padding: 48px 24px; gap: 26px; }
  .cta-banner .cta-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .cta-phone { font-size: 1.45rem; }
  .cta-phone svg { width: 24px; height: 24px; }

  /* page hero */
  .page-hero .hero-img { height: 280px; }

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

  /* mobile sticky call bar */
  .mobile-call {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; z-index: 900;
    background: var(--blue); color: #fff; align-items: center; justify-content: center;
    gap: 10px; padding: 15px 20px;
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2); text-decoration: none;
  }
  .mobile-call svg { width: 20px; height: 20px; stroke: #fff; flex-shrink: 0; }
  body { padding-bottom: 58px; }
}

/* ===================================================================
   RESPONSIVE — 520px small phones
   =================================================================== */
@media (max-width: 520px) {
  /* topbar: keep only phone number */
  .topbar-left .tb-email { display: none; }
  .topbar-right { display: none; }
  .topbar .container { justify-content: center; }

  /* services */
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-item { padding: 13px 20px; }

  /* gallery single column */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-grid.cols-3 { grid-template-columns: 1fr 1fr; }

  /* contact form */
  .contact-form { padding: 22px 16px; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .info-card { padding: 18px 16px; }

  /* footer — single column */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 44px 0 0; }

  /* page hero */
  .page-hero .hero-img { height: 220px; }
  .page-hero .container { padding: 32px 20px; }
  .page-hero h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }

  /* general */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .cta-banner .container { padding: 40px 20px; }
  .quote-card { padding: 22px 16px; }
  .quote-card h3 { font-size: 1.15rem; }
  .btn--lg { padding: 14px 28px; font-size: .95rem; }
}
