/* ==========================================================================
   Doorfect — global stylesheet
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

:root {
  --white: #ffffff;
  --off: #f6f7f9;
  --light: #eef0f4;
  --border: #dde1e8;
  --muted: #5b6470;
  --body: #2f343d;
  --dark: #0f172a;
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --blue-bg: #dbeafe;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-bg: #dcfce7;
}

html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* === NAV === */
nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 56px; display: flex; align-items: center; justify-content: space-between; height: 88px; position: sticky; top: 0; z-index: 999; transition: transform .25s ease; will-change: transform; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 67px; width: auto; display: block; }
.nav-logo .brand-text { display: none; font-size: 18px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links > a, .nav-links > .has-dropdown > a { font-size: 14px; font-weight: 500; color: var(--dark); padding: 8px 14px; border-radius: 6px; transition: background .15s, color .15s; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-links > a:hover, .nav-links > .has-dropdown > a:hover, .nav-links > .has-dropdown:hover > a { background: var(--off); color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-links .has-dropdown:hover .chev, .nav-links .has-dropdown[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.has-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.08); padding: 8px; display: none; flex-direction: column; gap: 0; z-index: 1000; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown[aria-expanded="true"] .dropdown { display: flex; }
.dropdown a { font-size: 13.5px; font-weight: 500; color: var(--dark); padding: 10px 14px; border-radius: 8px; transition: background .15s, color .15s; display: block; }
.dropdown a:hover, .dropdown a:focus { background: var(--blue-bg); color: var(--blue-dark); outline: none; }
.nav-cta { background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, transform .1s; min-height: 44px; }
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* === HAMBURGER === */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; align-items: center; cursor: pointer; background: none; border: none; padding: 10px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu { display: none; position: fixed; top: 88px; left: 0; right: 0; z-index: 998; background: var(--white); flex-direction: column; padding: 12px 20px 24px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.08); max-height: calc(100vh - 88px); overflow-y: auto; overflow-x: hidden; }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: flex; align-items: center; padding: 16px 4px; font-size: 15px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); min-height: 48px; }
.mobile-menu .m-services-toggle { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 15px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); min-height: 48px; cursor: pointer; background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left; font-family: inherit; }
.mobile-menu .m-services-toggle .chev { width: 12px; height: 12px; transition: transform .2s; }
.mobile-menu .m-services-toggle.open .chev { transform: rotate(180deg); }
.mobile-menu .m-services-list { display: none; flex-direction: column; padding-left: 16px; }
.mobile-menu .m-services-list.open { display: flex; }
.mobile-menu .m-services-list > a { font-size: 14px; padding: 12px 4px; min-height: 44px; color: var(--muted); }
.mobile-menu .m-subgroup-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; font-size: 14px; font-weight: 500; color: var(--dark); min-height: 44px; cursor: pointer; background: none; border: none; border-bottom: 1px solid var(--border); width: 100%; text-align: left; font-family: inherit; }
.mobile-menu .m-subgroup-toggle .chev { width: 11px; height: 11px; transition: transform .2s; opacity: .6; }
.mobile-menu .m-subgroup-toggle.open .chev { transform: rotate(180deg); opacity: 1; color: var(--blue); }
.mobile-menu .m-subgroup-toggle.open { color: var(--blue); }
.mobile-menu .m-subgroup { display: none; flex-direction: column; padding: 4px 0 4px 16px; margin-left: 4px; border-left: 2px solid var(--border); }
.mobile-menu .m-subgroup.open { display: flex; }
.mobile-menu .m-subgroup a { font-size: 13.5px; padding: 10px 4px; min-height: 40px; color: var(--muted); border-bottom: none; }
.mobile-menu .m-subgroup a:not(:last-child) { border-bottom: 1px solid var(--border); }
.mobile-menu a.mobile-cta { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .mobile-cta { margin-top: 16px; background: var(--blue); color: #fff; border-radius: 9px; justify-content: center; gap: 8px; font-weight: 700; padding: 16px; font-size: 15px; min-height: 52px; }
.mobile-menu .mobile-cta:hover { background: var(--blue-dark); color: #fff; }
body.menu-open { overflow: hidden; }

/* === BUTTONS === */
.btn-primary { background: var(--blue); color: #fff; padding: 13px 24px; border-radius: 8px; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; transition: background .15s, transform .1s; box-shadow: 0 1px 3px rgba(37,99,235,.25), 0 4px 14px rgba(37,99,235,.12); min-height: 46px; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--dark); padding: 12px 22px; border-radius: 8px; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); cursor: pointer; transition: background .15s, border-color .15s; min-height: 46px; }
.btn-outline:hover { background: var(--off); border-color: #ccc; }

/* === HERO (homepage) === */
.hero-wrap { border-bottom: 1px solid var(--border); }
.hero { max-width: 1160px; margin: 0 auto; padding: 72px 56px 80px; display: grid; grid-template-columns: 1fr 462px; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--off); border: 1px solid var(--border); border-radius: 50px; padding: 6px 14px 6px 10px; font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 24px; letter-spacing: 0.01em; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.2); } 50% { box-shadow: 0 0 0 6px rgba(22,163,74,.05); } }
.hero h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 .hl { color: var(--blue); }
.hero p { font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.65; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-image { aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(37,99,235,.12); width: 100%; max-width: 462px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* hero stats card variant (location pages) */
.hero-stats-card { background: var(--off); border: 1px solid var(--border); border-radius: 16px; padding: 26px; width: 100%; max-width: 380px; }
.hero-stats-card .card-title { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 4px; letter-spacing: -0.01em; }
.hero-stats-card .card-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.stats-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.stats-2x2 .sp { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; min-height: 76px; }
.stats-2x2 .sp .v { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.03em; line-height: 1; }
.stats-2x2 .sp .v.small { font-size: 16px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.stats-2x2 .sp .l { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.card-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--blue); color: #fff; padding: 12px; border-radius: 9px; font-size: 14px; font-weight: 700; transition: background .15s; min-height: 46px; }
.card-cta:hover { background: var(--blue-dark); }

/* === SECTION SHARED === */
.sec-tag { display: inline-block; background: var(--blue-bg); color: var(--blue); padding: 5px 12px; border-radius: 50px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 34px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 10px; line-height: 1.18; }
.sec-head p { font-size: 15.5px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* === SERVICES (homepage 3x3 grid) === */
.services { padding: 76px 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1160px; margin: 0 auto; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.services-grid.services-cols-2 { grid-template-columns: repeat(2, 1fr); }
.services-grid.services-cols-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card { background: var(--white); padding: 26px 22px 22px; transition: background .15s; cursor: pointer; display: flex; flex-direction: column; color: inherit; }
.svc-card:hover { background: var(--blue-bg); }
.svc-card:hover .svc-arr { color: var(--blue); }
.svc-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.svc-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.01em; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.svc-arr { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: color .15s; }
.svc-arr svg { transition: transform .15s; }
.svc-card:hover .svc-arr svg { transform: translateX(2px); }

/* === ABOUT SPLIT === */
.about { padding: 80px 56px; background: var(--off); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: 32px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 14px; line-height: 1.18; }
.about-text p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.check-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--dark); }
.check-item svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }
.about-photo { aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(37,99,235,.10); background: var(--off); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* === WHY US (homepage variant with stats) === */
.why { padding: 80px 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.why-inner { max-width: 760px; margin: 0 auto; }
.why-text h2 { font-size: 32px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 12px; }
.why-text > p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 30px; }
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-icon { width: 38px; height: 38px; min-width: 38px; background: var(--blue); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; }
.why-item h4 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.why-item p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* === GALLERY (homepage portfolio) === */
.gallery-wrap { background: var(--off); padding: 64px 56px; border-bottom: 1px solid var(--border); }
.gallery-inner { max-width: 1160px; margin: 0 auto; }
.gallery-header { text-align: center; margin-bottom: 32px; }
.gallery-header h2 { font-size: 26px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.gallery-header p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.gallery-track-wrap { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-track { display: flex; gap: 10px; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.gallery-slide { flex-shrink: 0; width: calc((100% - 20px) / 3); aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--off); }
/* Cloned slides used by the desktop seamless-loop slider; hidden on mobile so the
   native scroll-snap track shows only the original slides. */
@media (max-width: 768px) {
  .gallery-slide[data-clone] { display: none !important; }
}
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .4s; filter: brightness(.98); }
.gallery-slide:hover img { transform: scale(1.04); filter: brightness(1); }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; }
.gallery-btn { width: 44px; height: 44px; background: var(--white); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); cursor: pointer; transition: all .15s; flex-shrink: 0; }
.gallery-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-dots { display: flex; gap: 6px; }
.gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s, width .2s; }
.gallery-dot.active { background: var(--blue); width: 20px; border-radius: 3px; }

/* Mobile-only scroll-position dots for the homepage Our Work gallery */
.m-gallery-dots { display: none; }
@media (max-width: 767px) {
  .m-gallery-dots { display: flex; justify-content: center; align-items: center; gap: 6px; padding-top: 16px; padding-bottom: 0; }
  .m-gallery-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.2); border: none; padding: 0; cursor: pointer; transition: width 200ms ease, background 200ms ease; }
  .m-gallery-dots .dot[aria-selected="true"] { width: 12px; border-radius: 999px; background: rgba(0,0,0,1); }
  .m-gallery-dots .dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
}

/* === ISSUES STRIP === */
.issues { padding: 76px 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.issues-inner { max-width: 1100px; margin: 0 auto; }
.issues-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 880px; margin: 32px auto 0; }
.issue-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--off); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; transition: border-color .15s, background .15s, transform .15s; }
.issue-row .ico { width: 36px; height: 36px; min-width: 36px; background: var(--blue-bg); color: var(--blue-dark); border-radius: 9px; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.issue-row span { font-size: 14px; font-weight: 600; color: var(--dark); }
a.issue-row { cursor: pointer; }
a.issue-row:hover { border-color: var(--blue); background: var(--white); transform: translateY(-1px); }
a.issue-row:hover .ico { background: var(--blue); color: #fff; }
a.issue-row:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* === AREAS LINK GRID === */
.areas { padding: 76px 56px; background: var(--off); border-bottom: 1px solid var(--border); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; max-width: 1000px; margin: 0 auto; }
.area-link { display: flex; align-items: center; justify-content: center; padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--body); border-bottom: 1px solid var(--border); transition: color .15s; min-height: 44px; text-align: center; }
.area-link:hover { color: var(--blue); }

/* === FAQ (homepage) === */
.faq { padding: 76px 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--off); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color .15s; }
.faq-item:hover { border-color: #ccc; }
.faq-item.open { border-color: var(--blue); background: var(--white); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; gap: 14px; user-select: none; min-height: 48px; width: 100%; background: none; border: none; text-align: left; font-family: inherit; }
.faq-q h3 { font-size: 14.5px; font-weight: 600; color: var(--dark); }
.faq-toggle { width: 28px; height: 28px; min-width: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: var(--dark); transition: all .2s; }
.faq-item.open .faq-toggle { background: var(--blue); color: #fff; border-color: var(--blue); }
.faq-a { display: none; }
.faq-item.open .faq-a { display: block; }
.faq-a p { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* === FINAL CTA STRIP === */
.cta { padding: 80px 56px; background: var(--blue); color: #fff; }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; line-height: 1.18; color: #fff; }
.cta-inner > p { font-size: 16px; line-height: 1.7; margin-bottom: 28px; color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta { background: #fff; color: var(--blue); padding: 14px 26px; border-radius: 9px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; transition: background .15s, transform .1s; }
.btn-cta:hover { background: var(--off); transform: translateY(-1px); }
.btn-cta-outline { background: transparent; color: #fff; padding: 13px 24px; border: 2px solid rgba(255,255,255,.5); border-radius: 9px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; transition: background .15s, border-color .15s; }
.btn-cta-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* === MAP (homepage simple) === */
.map-sec-simple { padding: 56px 56px; background: var(--off); border-top: 1px solid var(--border); }
.map-inner-simple { max-width: 1100px; margin: 0 auto; }
.map-sec-simple iframe { width: 100%; height: 360px; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.06); display: block; }

/* === FOOTER === */
footer { background: var(--dark); color: rgba(255,255,255,.85); padding: 56px 56px 28px; }
.footer-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; max-width: 1300px; margin: 0 auto; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-col h4 { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.72); font-size: 13px; margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,.72); font-size: 13px; margin-bottom: 8px; line-height: 1.55; }
.footer-bottom { text-align: center; padding-top: 22px; font-size: 12px; color: rgba(255,255,255,.5); max-width: 1100px; margin: 0 auto; line-height: 1.6; }

/* === BREADCRUMB === */
.breadcrumb-row { background: var(--off); padding: 14px 56px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.breadcrumb-row-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb-row a { color: var(--blue); transition: color .15s; }
.breadcrumb-row a:hover { color: var(--blue-dark); }
.breadcrumb-row .sep { margin: 0 8px; color: var(--muted); opacity: 0.5; }

/* === SERVICE PAGE HERO === */
.service-hero { background: var(--off); padding: 56px 56px 64px; }
.service-hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.service-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: var(--dark); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }
.service-hero p { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 26px; }
.service-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* Match homepage .hero-image dimensions exactly: 462px wide, 4:5 portrait */
.service-image { aspect-ratio: 4/5 !important; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(37,99,235,.12); background: var(--off); width: 100%; max-width: 462px; justify-self: center; }
.service-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

/* === INCLUDED (service pages) === */
.included { padding: 76px 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.included-inner { max-width: 1000px; margin: 0 auto; }
.included-head { text-align: center; margin-bottom: 36px; }
.included-head h2 { font-size: 30px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 10px; }
.included-head p { font-size: 15px; color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.6; }
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.included-item { display: flex; align-items: flex-start; gap: 14px; padding: 22px; background: var(--off); border: 1px solid var(--border); border-radius: 12px; }
.included-item .ico { width: 38px; height: 38px; min-width: 38px; background: var(--blue); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.included-item h3 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px; letter-spacing: -0.005em; }
.included-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* === WHY US (service & location pages, simple grid) === */
.why-simple { padding: 76px 56px; background: var(--off); border-bottom: 1px solid var(--border); }
.why-simple-inner { max-width: 1100px; margin: 0 auto; }
.why-simple-head { text-align: center; margin-bottom: 36px; }
.why-simple-head h2 { font-size: 28px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 10px; }
.why-simple-head p { font-size: 15px; color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.6; }
.why-simple-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-simple-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; transition: border-color .15s, box-shadow .15s; }
.why-card:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(37,99,235,.08); }
.why-card .ico { width: 38px; height: 38px; background: var(--blue); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-card.alt-ico .ico { background: var(--blue-bg); color: var(--blue-dark); }
.why-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.why-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* === AREAS WE SERVE BLOCK === */
.areas-block { background: var(--white); border-bottom: 1px solid var(--border); padding: 56px 56px; }
.areas-block-inner { max-width: 1100px; margin: 0 auto; }
.areas-block-head { text-align: center; margin-bottom: 28px; }
.areas-block-head h2 { font-size: 26px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; margin-bottom: 8px; }
.areas-block-head p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 560px; margin: 0 auto; }
.areas-block-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; max-width: 920px; margin: 24px auto 0; }
.areas-block-grid a { display: block; padding: 10px 4px; font-size: 13.5px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); transition: color .15s; text-align: center; }
.areas-block-grid a:hover { color: var(--blue); }

/* === FAQ (service & location pages, alt styling) === */
.faq-alt { padding: 76px 56px; background: var(--off); border-bottom: 1px solid var(--border); }
.faq-alt-inner { max-width: 880px; margin: 0 auto; }
.faq-alt-head { text-align: center; margin-bottom: 36px; }
.faq-alt-head h2 { font-size: 28px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 10px; }
.faq-alt-head p { font-size: 15px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.faq-alt .faq-list { gap: 10px; }
.faq-alt .faq-item { background: var(--white); }

/* === MAP DETAIL SECTION (service & location pages) === */
.map-sec { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 56px; }
.map-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.map-info h2 { font-size: 28px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 12px; line-height: 1.18; }
.map-info p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.map-info-list { display: grid; gap: 12px; margin-bottom: 22px; }
.map-info-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; }
.map-info-item strong { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.map-info-item span, .map-info-item a { font-size: 14px; color: var(--dark); }
.map-info-item a:hover { color: var(--blue); }
.map-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--blue); padding: 10px 16px; border: 1px solid var(--border); background: var(--white); border-radius: 8px; transition: background .15s, border-color .15s; }
.map-link:hover { background: var(--blue-bg); border-color: var(--blue); }
.map-embed { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--off); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* === LOCATION PAGE LOCAL INSIGHT === */
.local-insight { background: var(--white); border-bottom: 1px solid var(--border); padding: 56px 56px; }
.local-insight-inner { max-width: 880px; margin: 0 auto; }
.local-insight .sec-tag { margin-bottom: 12px; }
.local-insight h2 { font-size: 24px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; margin-bottom: 14px; }
.local-insight p { font-size: 15.5px; color: var(--body); line-height: 1.7; margin-bottom: 14px; }
.local-insight p:last-child { margin-bottom: 0; }

/* === LOCATION PAGE CITY-SERVICES grid === */
.city-services { padding: 76px 56px; background: var(--off); border-bottom: 1px solid var(--border); }
.city-services-inner { max-width: 1160px; margin: 0 auto; }
.city-services-head { text-align: center; margin-bottom: 36px; }
.city-services-head h2 { font-size: 30px; font-weight: 800; color: var(--dark); letter-spacing: -0.025em; margin-bottom: 10px; }
.city-services-head p { font-size: 15px; color: var(--muted); max-width: 580px; margin: 0 auto; line-height: 1.6; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-grid .svc-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px; transition: border-color .15s, box-shadow .15s; cursor: default; }
.svc-grid .svc-card:hover { border-color: var(--blue); background: var(--white); box-shadow: 0 8px 24px rgba(37,99,235,.08); }
.svc-grid .svc-card .ico { width: 40px; height: 40px; background: var(--blue); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.svc-grid .svc-card h3 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.01em; }
.svc-grid .svc-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 8px; }
.svc-grid .svc-link { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.svc-grid .svc-link:hover { color: var(--blue-dark); }

/* === OTHER AREAS BLOCK (location pages) === */
.other-areas { padding: 64px 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.other-areas-inner { max-width: 1100px; margin: 0 auto; }
.other-areas-head { text-align: center; margin-bottom: 24px; }
.other-areas-head h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.other-areas-head p { font-size: 14px; color: var(--muted); }
.other-areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; max-width: 920px; margin: 0 auto; }
.other-areas-grid a { display: block; padding: 10px 4px; font-size: 13.5px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); transition: color .15s; text-align: center; }
.other-areas-grid a:hover { color: var(--blue); }

/* === STATS CARD (location page hero side) === */
/* Unified hero card: image on top, stats card below, joined as one block */
/* Match service-page .service-image dimensions: 462px wide, 4:5 portrait,
   matching corner radius and shadow so location and service heroes look the
   same size across the site. */
.hero-media { display: flex; flex-direction: column; width: 100%; max-width: 462px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(37,99,235,.12); background: var(--off); }
.hero-media .hero-image { aspect-ratio: 4/5; max-width: none; border: none; box-shadow: none; border-radius: 0; }
.hero-media .hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === LOCATION HERO BREADCRUMB === */
.breadcrumb-loc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb-loc a { color: var(--muted); }
.breadcrumb-loc a:hover { color: var(--blue); }
.breadcrumb-loc span.sep { color: var(--muted); }
.breadcrumb-loc span.cur { color: var(--dark); font-weight: 600; }

/* === CONTACT FORM === */
.contact-sec { background: var(--off); padding: 36px 56px 56px; border-bottom: 1px solid var(--border); }
.contact-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-left { padding-top: 4px; }
.contact-left h2 { font-size: 26px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; margin-bottom: 10px; }
.contact-left > p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.info-cards { display: flex; flex-direction: column; gap: 12px; }
.info-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.info-card-ico { width: 42px; height: 42px; min-width: 42px; background: var(--blue-bg); color: var(--blue-dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.info-card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.info-card .val { font-size: 15.5px; font-weight: 700; color: var(--dark); display: block; }
.info-card .val:hover { color: var(--blue); }
.info-card .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.form-card h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.02em; }
.form-card > p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fg label { font-size: 13px; font-weight: 600; color: var(--dark); }
.fg input, .fg select, .fg textarea { font-family: inherit; font-size: 14.5px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); color: var(--dark); min-height: 46px; transition: border-color .15s, box-shadow .15s; }
.fg textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit { width: 100%; background: var(--blue); color: #fff; padding: 14px; border-radius: 9px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: background .15s, transform .1s; min-height: 50px; margin-top: 4px; }
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.6; }
.hp-field { position: absolute; left: -9999px; visibility: hidden; }

/* === THANK YOU PAGE === */
.thanks-wrap { padding: 80px 56px 100px; background: var(--off); min-height: calc(100vh - 88px); display: flex; align-items: center; justify-content: center; }
.thanks-card { max-width: 560px; width: 100%; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 48px 36px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.thanks-card .ok-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--green-bg); color: var(--green-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.thanks-card h1 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.02em; }
.thanks-card p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.thanks-card .btns { display: flex; flex-direction: column; gap: 10px; }

/* === SERVICES HUB STICKY CATEGORY TABS === */
.cat-tabs-wrap { position: sticky; top: 88px; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.cat-tabs { max-width: 1160px; margin: 0 auto; padding: 12px 56px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cat-tabs a { font-size: 13px; font-weight: 600; color: var(--dark); padding: 8px 14px; border-radius: 50px; border: 1px solid var(--border); background: var(--white); transition: all .15s; }
.cat-tabs a:hover { border-color: var(--blue); color: var(--blue); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  nav { padding-left: 28px; padding-right: 28px; }
  .hero, .about-inner, .why-inner, .footer-inner, .service-hero-inner, .map-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero { text-align: center; padding: 56px 28px 64px; gap: 36px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-right { display: flex; }
  .hero-image, .hero-stats-card { max-width: 528px; margin: 0 auto; }
  .services, .about, .why, .areas, .faq, .cta, .gallery-wrap, .map-sec-simple, footer, .breadcrumb-row, .service-hero, .included, .why-simple, .areas-block, .faq-alt, .map-sec, .local-insight, .city-services, .other-areas, .contact-sec, .issues, .cat-tabs { padding-left: 28px; padding-right: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid.services-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-slide { width: calc((100% - 10px) / 2); aspect-ratio: 4/5; }
  .service-hero-inner { gap: 36px; }
  .service-image { max-width: 572px; margin: 0 auto; }
  .why-simple-grid, .why-simple-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .map-inner { gap: 24px; }
  .areas-block-grid, .other-areas-grid { grid-template-columns: repeat(3, 1fr); }
  .issues-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 16px; height: 72px; }
  nav.nav-hidden { transform: translateY(-100%); }
  .nav-logo img { height: 46px; }
  .mobile-menu { top: 72px; max-height: calc(100vh - 72px); }
  .cat-tabs-wrap { position: static; top: auto; z-index: auto; }
  .hero-wrap, .services, .about, .why, .areas, .faq, .cta, .gallery-wrap, .map-sec-simple, footer, .breadcrumb-row, .service-hero, .included, .why-simple, .areas-block, .faq-alt, .map-sec, .local-insight, .city-services, .other-areas, .contact-sec, .issues, .cat-tabs { padding-left: 16px; padding-right: 16px; }
  .cat-tabs { gap: 5px; flex-wrap: nowrap; justify-content: center; padding-left: 6px; padding-right: 6px; }
  .cat-tabs a { font-size: 11px; padding: 8px 10px; white-space: nowrap; letter-spacing: -0.01em; }
  .cat-tabs a .catlabel-extra { display: none; }
  .hero { padding: 44px 16px 52px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-btns, .service-hero-btns { flex-direction: column; gap: 10px; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .services, .about, .why, .faq, .cta, .areas, .included, .why-simple, .city-services, .faq-alt, .contact-sec, .issues { padding-top: 56px; padding-bottom: 56px; }
  .gallery-wrap, .areas-block, .other-areas { padding-top: 48px; padding-bottom: 48px; }
  .map-sec-simple, .map-sec { padding-top: 40px; padding-bottom: 40px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2, .about-text h2, .why-text h2, .cta h2, .gallery-header h2, .included-head h2, .why-simple-head h2, .faq-alt-head h2, .map-info h2, .city-services-head h2, .other-areas-head h2, .contact-left h2 { font-size: 24px; }
  .service-hero { padding-top: 36px; padding-bottom: 48px; }
  .service-hero h1 { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid.services-cols-2,
  .services-grid.services-cols-4 { grid-template-columns: 1fr; }
  .areas-block-head { text-align: center; }
  .areas-block-grid a,
  .other-areas-grid a { text-align: center; }
  .other-areas-head { text-align: center; }
  /* Root cause #2: .gallery-track has gap:10px (desktop default) while
     the JS translateX math on mobile uses gap=0. The 10px mismatch
     leaves a sliver of the previous slide visible on the left. Switch
     mobile to native CSS scroll-snap with zero gap and override the
     JS-driven transform so the active slide is always flush. */
  .gallery-track-wrap { overflow-x: hidden; overflow-y: visible; }
  .gallery-track {
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    transition: none !important;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    aspect-ratio: 3/2;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .gallery-slide img { object-position: center 50%; }
  .gallery-slide--mobile-hide { display: none !important; }
  .gallery-controls { display: none; } /* prev/next/dots are JS-driven and don't apply with native scroll */
  .areas-grid, .areas-block-grid, .other-areas-grid { grid-template-columns: repeat(2, 1fr); }
  /* Compact mobile footer:
     - Two-column grid so short cols (Maintenance / Company) sit side-by-side
     - Long cols (Services = nth-child(1), Areas Served = nth-child(3)) span
       both columns and use CSS multicolumn so their links flow into 2 cols
       under a full-width heading. Contact (nth-child(5)) spans the row. */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-bottom: 24px; }
  .footer-col:nth-child(1),
  .footer-col:nth-child(3),
  .footer-col:nth-child(5) { grid-column: 1 / -1; }
  .footer-col:nth-child(1),
  .footer-col:nth-child(3) { column-count: 2; column-gap: 18px; }
  .footer-col:nth-child(1) h4,
  .footer-col:nth-child(3) h4 { column-span: all; }
  .footer-col:nth-child(1) a,
  .footer-col:nth-child(3) a { break-inside: avoid; }
  .footer-col a, .footer-col p { margin-bottom: 6px; }
  .map-sec-simple iframe { height: 280px; }
  footer { padding: 36px 16px 22px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .why-simple-grid, .why-simple-grid.cols-4, .svc-grid, .included-grid { grid-template-columns: 1fr; }
  .map-embed { aspect-ratio: 16/9; }
  .thanks-wrap { padding: 56px 16px; }
  .thanks-card { padding: 36px 22px; }
}
@media (max-width: 460px) {
  .hero h1 { font-size: 26px; }
  /* Keep .areas-grid, .areas-block-grid, .other-areas-grid as a 2-column grid
     at every mobile width so the city list reads as a clean multi-column
     section instead of one tall vertical stack. Tighten the column gap so
     the cells are balanced at narrow widths. */
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
  .areas-block-grid, .other-areas-grid { gap: 6px 14px; }
}
