﻿/* [BUSINESS NAME] — shared stylesheet */

:root {
  --navy: #0b2e4f;
  --navy-dark: #082238;
  --navy-light: #123a63;
  --orange: #ff6a13;
  --orange-dark: #e05a00;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --text: #1c2b36;
  --text-light: #5a6b78;
  --border: #e1e6ea;
  --success: #1f8a4c;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(11, 46, 79, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 46, 79, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-light); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #c9d7e4; }
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}
.section-head { max-width: 700px; margin: 0 auto 40px; text-align: center; }
.section-head p { margin-top: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(11,46,79,.05);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo span { color: var(--orange); font-size: .8em; }

.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  padding: 10px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-nav > ul > li > a:hover { color: var(--orange); }
.has-dropdown > a::after {
  content: "";
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: 2px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .9rem;
  color: var(--text);
}
.dropdown li a:hover { background: var(--bg-alt); color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; stroke: var(--orange); flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: all .2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Top utility bar */
.top-bar {
  background: var(--navy-dark);
  color: #cfe0ee;
  font-size: .82rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar strong { color: var(--orange); }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a { padding: 14px 4px; justify-content: space-between; width: 100%; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0 0 8px 12px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .header-phone span { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1a4a78 100%);
  color: #fff;
  overflow: hidden;
  padding: 84px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 40px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero h1 { color: #fff; }
.hero .lede { color: #d7e4f0; font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #cfe0ee; font-weight: 600; }
.hero-badge svg { width: 22px; height: 22px; stroke: var(--orange); }
.hero-art {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* <!-- TODO: replace .hero-art SVG illustration with a real photo of a technician/truck/job site --> */

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 56px 0 46px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #cfe0ee; max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: #a9c0d6; margin-bottom: 14px; }
.breadcrumb a { color: #dfeaf4; font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }

/* ===== Trust bar ===== */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.trust-item { display: flex; align-items: center; gap: 12px; text-align: left; }
.trust-item svg { width: 30px; height: 30px; stroke: var(--orange); flex-shrink: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; }
.trust-item span { display: block; color: var(--text-light); font-size: .82rem; }
@media (max-width: 900px) { .trust-bar .container { grid-template-columns: repeat(2, 1fr); } }

/* ===== Cards / grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2, .hero-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(255,106,19,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--orange); }
.card a.card-link { color: var(--orange); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }

/* Service icon badge used across pages */
.icon-badge { width: 60px; height: 60px; border-radius: 14px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.icon-badge svg { width: 30px; height: 30px; stroke: #fff; }

/* ===== Testimonials ===== */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  height: 100%;
}
.stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; font-size: 1rem; }
.testimonial p { color: var(--text); font-style: italic; }
.testimonial .name { color: var(--navy); font-weight: 700; font-style: normal; margin: 0; }
.testimonial .loc { color: var(--text-light); font-size: .82rem; }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.rating-summary .score { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-summary .stars { font-size: 1.4rem; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-outline { border-color: #fff; }

/* ===== Forms ===== */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--bg-alt);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.form-note { font-size: .78rem; color: var(--text-light); margin-top: 10px; }
.form-success {
  display: none;
  background: #eaf7ee;
  border: 1px solid var(--success);
  color: #14522e;
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: .9rem;
}
.form-success.show { display: block; }

/* ===== FAQ accordion ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-light); }

/* ===== Lists with checks ===== */
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--text-light); }
.check-list li svg { width: 20px; height: 20px; stroke: var(--success); flex-shrink: 0; margin-top: 2px; }

.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 26px; }
.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.step-num::before { content: counter(step); }

/* ===== Map placeholder ===== */
.map-placeholder {
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 12px, #eef1f4 12px, #eef1f4 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}
.map-placeholder svg { width: 40px; height: 40px; stroke: var(--navy); }
/* <!-- TODO: replace .map-placeholder with a real embedded Google Map (API key) before launch --> */

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #b9cbdb; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--orange); }
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--orange); }
.footer-brand p { color: #97aec1; margin-top: 14px; font-size: .88rem; }
.footer-nap { font-size: .88rem; color: #cfe0ee; margin-top: 14px; line-height: 1.8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: .8rem;
  color: #7f97ab;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--orange); }
.footer-license { font-size: .78rem; color: #7f97ab; padding-bottom: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Misc page content ===== */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.badge-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.pill { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: .82rem; font-weight: 600; color: var(--navy); }
.callout {
  background: #fff5eb;
  border: 1px solid #ffd9b3;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
  color: var(--navy);
  font-size: .92rem;
}
.city-list-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.city-list-inline a { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .88rem; color: var(--navy); }
.city-list-inline a:hover { border-color: var(--orange); color: var(--orange); }

/* ===== Above-the-fold: H1 + service subheading ===== */
.hero-subhead {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 16px;
}
.page-hero .hero-actions { justify-content: center; }

/* ===== Why Choose Us ===== */
.why-choose { padding: 56px 0; border-bottom: 1px solid var(--border); }
.why-choose .section-head { margin-bottom: 32px; }
.why-item h3 { font-size: 1.08rem; }
.why-item p { margin: 0; font-size: .92rem; }

table.pricing-note { width: 100%; border-collapse: collapse; }
.placeholder-text { color: var(--orange-dark); font-weight: 700; }


/* ===== Sticky mobile call bar ===== */
.mobile-call-bar { display: none; }
@media (max-width: 760px) {
  .mobile-call-bar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    padding: 14px 16px;
    background: var(--orange); color: #fff;
    text-align: center; font-weight: 700; font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
  }
  body { padding-bottom: 56px; }
}
.form-success.show.is-error { color: #b42318; }

/* Header logo image */
.logo-img { display: block; flex-shrink: 0; }
.logo-img img { height: 64px; width: auto; display: block; }
@media (max-width: 600px) { .logo-img img { height: 48px; } }

/* ===== Life: hero scene, facts, steps, motion ===== */
.hero { background: linear-gradient(135deg, #071c30 0%, var(--navy) 55%, #14406b 100%); }
.hero::after { content:""; position:absolute; right:-80px; top:-60px; width:520px; height:520px; background: radial-gradient(circle, rgba(255,106,19,.28), transparent 65%); pointer-events:none; }
.hero-scene { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.hero-scene svg { filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.door-panels { animation: doorlift 6s ease-in-out infinite; }
@keyframes doorlift { 0%,10% { transform: translateY(0); } 40%,65% { transform: translateY(-112px); } 95%,100% { transform: translateY(0); } }
.hand-min { transform-origin: 0 0; animation: tick 12s linear infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.speed { animation: dash 3s ease-in-out infinite; }
@keyframes dash { 0%,100% { transform: translateX(0); opacity:.9 } 50% { transform: translateX(-10px); opacity:.5 } }

.facts-strip { background: var(--orange); padding: 0; }
.facts-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.fact { padding: 22px 18px; text-align:center; color:#fff; border-right: 1px solid rgba(255,255,255,.28); display:flex; flex-direction:column; gap:2px; }
.fact:last-child { border-right: 0; }
.fact strong { font-size: 1.35rem; font-weight: 800; letter-spacing:.2px; }
.fact span { font-size:.85rem; opacity:.95; }

.how-steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.how-step { text-align:center; padding: 8px 18px; display:block; margin:0; }
.how-num { display:inline-flex; width:56px; height:56px; border-radius:50%; background: var(--orange); color:#fff; font-weight:800; font-size:1.5rem; align-items:center; justify-content:center; box-shadow: 0 8px 18px rgba(255,106,19,.35); margin-bottom: 14px; }
.how-step h3 { margin: 0 0 8px; }
.how-step p { margin: 0; color: #5b6b7b; }

.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; border-top: 3px solid transparent; }
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(11,46,79,.14); border-top-color: var(--orange); }

.area-visual { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .door-panels,.hand-min,.speed { animation:none; }
}
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { border-bottom: 1px solid rgba(255,255,255,.28); }
  .how-steps { grid-template-columns: 1fr; }
}

.hero-scene { max-width: 520px; justify-self: center; width: 100%; }
.hero-scene svg { transform: scale(1.12); transform-origin: center; }

/* Keep hero + facts strip above the fold on laptops */
.hero { padding: 40px 0 44px; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: 8px; }
.hero-subhead { margin-bottom: 10px; }
.hero .lede { font-size: 1.02rem; margin-bottom: 0; }
.hero-actions { margin-top: 20px; }
.hero-scene { max-width: 400px; }
.hero-scene svg { transform: none; }
.fact { padding: 14px 16px; }
.fact strong { font-size: 1.15rem; }
.fact span { font-size: .8rem; }
@media (max-width: 760px) { .hero { padding: 32px 0; } .hero-scene { display:none; } }

/* Hero + facts strip fill exactly one screen on desktop (top bar 35 + header 77 + strip 80) */
@media (min-width: 761px) {
  .hero { min-height: max(400px, calc(100vh - 192px)); display: flex; align-items: center; }
  .hero .hero-grid { width: 100%; }
  .facts-strip { height: 80px; display: flex; align-items: center; }
  .facts-strip .facts-grid { width: 100%; }
}

.plain-list { margin: 8px 0 14px 20px; padding: 0; }
.plain-list li { margin-bottom: 6px; }

/* work gallery */
.work-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.work-item{margin:0;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(11,46,79,.10)}
.work-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.work-item figcaption{padding:10px 14px;font-size:.92rem;font-weight:600;color:var(--navy)}
@media (max-width:1100px){.work-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.work-grid{grid-template-columns:1fr}}

.work-grid.collapsed .work-item:nth-child(n+9){display:none}
.work-more{text-align:center;margin-top:24px}

/* gallery grouped by project */
.work-projects{display:flex;flex-direction:column;gap:22px}
.project{background:#fff;border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(11,46,79,.10)}
.project-head h3{font-size:1.25rem;color:var(--navy);margin:0 0 4px}
.project-head p{margin:0 0 16px;color:#4a5b6c}
.project-photos{display:grid;gap:12px}
.project-photos.cols-1{grid-template-columns:minmax(0,420px)}
.project-photos.cols-2{grid-template-columns:repeat(2,1fr)}
.project-photos.cols-3{grid-template-columns:repeat(3,1fr)}
.project-photos.cols-4{grid-template-columns:repeat(4,1fr)}
.project .work-item{box-shadow:none;border:1px solid #e3e9f0}
@media (max-width:900px){.project-photos.cols-3,.project-photos.cols-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.project-photos.cols-2,.project-photos.cols-3,.project-photos.cols-4{grid-template-columns:1fr}.project{padding:16px}}
.work-projects.collapsed .project:nth-child(n+4){display:none}

/* photo viewer */
.lb{position:fixed;inset:0;z-index:9999;background:rgba(6,16,28,.92);display:flex;align-items:center;justify-content:center;padding:56px 64px}
.lb[hidden]{display:none}
.lb figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.lb img{max-width:100%;max-height:calc(100vh - 150px);border-radius:8px;object-fit:contain;background:#000}
.lb figcaption{color:#fff;font-size:.95rem;text-align:center;max-width:720px}
.lb button{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;cursor:pointer;border-radius:50%;width:48px;height:48px;font-size:2rem;line-height:1;display:flex;align-items:center;justify-content:center}
.lb button:hover,.lb button:focus-visible{background:var(--orange,#ff6a13);outline:none}
.lb-x{top:14px;right:14px}
.lb-prev{left:12px;top:50%;transform:translateY(-50%)}
.lb-next{right:12px;top:50%;transform:translateY(-50%)}
.lb.single .lb-prev,.lb.single .lb-next{display:none}
html.lb-open{overflow:hidden}
@media(max-width:700px){.lb{padding:56px 8px}.lb-prev,.lb-next{top:auto;bottom:14px;transform:none}.lb-prev{left:calc(50% - 56px)}.lb-next{right:calc(50% - 56px)}.lb img{max-height:calc(100vh - 200px)}}
