/* ============================================================
   NPI MAINTENANCE SERVICES — Site Stylesheet
   Brand: Navy #002A4D + Orange #ED6E14 (from logo)
   ============================================================ */

:root {
  --navy: #002A4D;
  --navy-700: #013963;
  --navy-600: #0B4A7A;
  --navy-100: #E7EDF3;
  --navy-50: #F4F7FA;
  --orange: #ED6E14;
  --orange-600: #D45C0A;
  --orange-100: #FFE9D6;
  --ink: #1C2530;
  --grey-700: #4A5560;
  --grey-500: #707B87;
  --grey-300: #D7DEE5;
  --grey-100: #F1F4F7;
  --white: #FFFFFF;
  --success: #1E8E5A;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,42,77,0.08);
  --shadow-md: 0 8px 24px rgba(0,42,77,0.12);
  --shadow-lg: 0 16px 40px rgba(0,42,77,0.18);
  --maxw: 1200px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--grey-700); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
@media (max-width: 782px) { section { padding: 48px 0; } }
.section-tight { padding: 40px 0; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #C7D4E0; }
.bg-light { background: var(--navy-50); }
.bg-white { background: var(--white); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.bg-navy .eyebrow { background: rgba(237,110,20,0.18); color: #FFAC66; }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(237,110,20,0.35); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 10px 24px rgba(237,110,20,0.45); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,42,77,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--navy); position: relative; padding: 6px 0;
}
.main-nav a:hover { color: var(--orange); }
.main-nav .has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: var(--white);
  box-shadow: var(--shadow-md); border-radius: var(--radius-sm); padding: 10px;
  min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease; border: 1px solid var(--grey-300);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; font-weight: 500; font-size: 0.92rem; }
.dropdown a:hover { background: var(--navy-50); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.header-phone svg { flex-shrink: 0; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 980px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 86vw);
    background: var(--white); flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 90px 28px 28px; transition: right .28s ease; box-shadow: -8px 0 30px rgba(0,0,0,0.15); overflow-y: auto; }
  .main-nav.open { right: 0; }
  .main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--grey-100); }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; display: none; padding-left: 12px; margin-top: 4px; }
  .has-dropdown.open .dropdown { display: block; }
  .header-phone span.phone-text { display: none; }
  .hamburger { display: block; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,10,20,0.5); z-index: 900; }
  .nav-overlay.open { display: block; }
  .brand img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 55%, #024172 100%);
  color: var(--white); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(237,110,20,0.25) 0%, rgba(237,110,20,0) 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 84px 24px; max-width: var(--maxw); margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .lede { color: #D6E2ED; font-size: 1.15rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0; }
.hero-badges span { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: #D6E2ED; }
.hero-panel { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); color: var(--ink); }
.hero-panel h3 { margin-bottom: 6px; }
.hero-panel .muted { color: var(--grey-500); font-size: 0.92rem; margin-bottom: 18px; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 20px 40px; text-align: left; }
}

/* Page (inner) header banner */
.page-hero { background: linear-gradient(120deg, var(--navy), #024172); color: var(--white); padding: 62px 0 56px; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lede { color: #D6E2ED; max-width: 640px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: #A9C0D3; margin-bottom: 14px; }
.breadcrumb a { color: #A9C0D3; } .breadcrumb a:hover { color: var(--white); }

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

.card {
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-badge {
  width: 54px; height: 54px; border-radius: 14px; background: var(--navy-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--navy);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--orange); font-family: var(--font-head); font-size: 0.92rem; }

.service-card { display: flex; flex-direction: column; }
.service-list { list-style: none; padding: 0; margin: 14px 0 0; }
.service-list li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 0.94rem; color: var(--grey-700); }
.service-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 782px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--orange); }
.stat span { color: #C7D4E0; font-size: 0.92rem; font-weight: 600; }

/* ---------- Before/After ---------- */
.ba-compare { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--grey-100); user-select: none; }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-compare .ba-after { clip-path: inset(0 0 0 50%); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--white); transform: translateX(-2px); box-shadow: 0 0 0 2px rgba(0,42,77,0.25); cursor: ew-resize; z-index: 3; }
.ba-divider::after {
  content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: var(--navy); font-weight: 700; font-size: 1.1rem;
}
.ba-tag { position: absolute; top: 12px; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; }
.ba-tag.before { left: 12px; background: rgba(28,37,48,0.72); color: var(--white); }
.ba-tag.after { right: 12px; background: var(--orange); color: var(--white); }
.ba-caption { padding: 14px 4px 0; font-weight: 600; color: var(--navy); font-family: var(--font-head); font-size: 0.95rem; }
.ba-caption span { display: block; font-weight: 400; color: var(--grey-500); font-family: var(--font-body); font-size: 0.85rem; margin-top: 2px; }

.single-shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.single-shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.single-shot .ba-tag { top: 12px; }

/* ---------- Gallery filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; padding: 10px 20px;
  border-radius: 999px; border: 1.5px solid var(--grey-300); background: var(--white); color: var(--navy); cursor: pointer; transition: .15s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery-item { display: none; }
.gallery-item.show { display: block; animation: fadeIn .35s ease; }
.end-lease-card {
  position: relative; isolation: isolate; overflow: hidden; min-height: 275px;
  padding: 30px 24px; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; text-align: center;
}
.end-lease-card::before {
  content: "📄"; position: absolute; z-index: 0; left: 50%; top: 50%;
  transform: translate(-50%, -50%); font-size: 8rem; line-height: 1;
  opacity: 0.07; filter: grayscale(1); text-shadow: 0 10px 28px rgba(0,42,77,0.28);
  pointer-events: none;
}
.end-lease-card > * { position: relative; z-index: 1; }
.end-lease-card p { margin: auto 0; max-width: 32ch; }
.end-lease-card .btn { margin-top: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
.gap-note { background: var(--navy-50); border: 1px dashed var(--grey-300); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--grey-500); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-300); }
.stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); font-size: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; }
.testimonial-author b { font-family: var(--font-head); font-size: 0.92rem; display: block; }
.testimonial-author span { font-size: 0.82rem; color: var(--grey-500); }
.placeholder-flag { display: inline-block; margin-top: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-600); background: var(--orange-100); padding: 3px 10px; border-radius: 999px; }

/* ---------- Pricing ---------- */
.price-card { border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 30px; background: var(--white); position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow-md); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; padding: 5px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.price-tag { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--navy); margin: 10px 0 4px; }
.price-tag small { font-size: 0.95rem; font-weight: 500; color: var(--grey-500); }
.price-card ul { list-style: none; padding: 0; margin: 18px 0; flex-grow: 1; }
.price-card ul li { padding-left: 24px; position: relative; margin-bottom: 10px; font-size: 0.92rem; color: var(--grey-700); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.price-note { font-size: 0.82rem; color: var(--grey-500); margin-top: 8px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 36px; border: 1px solid var(--grey-300); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--orange); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea, .field input[type=date], .field input[type=file] {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--grey-300); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); background: var(--white); transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field-hint { font-size: 0.8rem; color: var(--grey-500); margin-top: 5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.radio-row, .checkbox-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill label { display: block; padding: 10px 18px; border: 1.5px solid var(--grey-300); border-radius: 999px; font-weight: 600; font-size: 0.88rem; cursor: pointer; color: var(--navy); transition: .15s; margin: 0; }
.radio-pill input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--white); }
.form-note { font-size: 0.82rem; color: var(--grey-500); margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange) 0%, var(--orange-600) 100%); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #FFE3CC; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Service area ---------- */
.suburb-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.suburb-pills span { background: var(--white); border: 1px solid var(--grey-300); padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--navy-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9CADA; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--font-head); font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--orange); }
.footer-logo img { height: 58px; margin-bottom: 16px; }
.footer-about p { color: #9FB3C6; font-size: 0.9rem; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #8CA1B6; }
.footer-bottom a { color: #8CA1B6; } .footer-bottom a:hover { color: var(--orange); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; background: var(--white); box-shadow: 0 -4px 18px rgba(0,0,0,0.12); }
.mobile-cta-bar .row { display: flex; }
.mobile-cta-bar a { flex: 1; text-align: center; padding: 15px 10px; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; display: flex; align-items: center; justify-content: center; gap: 7px; }
.mobile-cta-bar .call { background: var(--navy); color: var(--white); }
.mobile-cta-bar .quote { background: var(--orange); color: var(--white); }
@media (max-width: 782px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 58px; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--grey-300); margin: 48px 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: center; }
.badge-row .badge-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 0.92rem; }
table.plain { width: 100%; border-collapse: collapse; }
table.plain th, table.plain td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--grey-300); font-size: 0.92rem; }
table.plain th { font-family: var(--font-head); color: var(--navy); background: var(--navy-50); }
.accordion-item { border: 1px solid var(--grey-300); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.accordion-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); background: var(--white); }
.accordion-q .plus { transition: transform .2s; font-size: 1.3rem; color: var(--orange); }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px; }
.accordion-item.open .accordion-a { max-height: 400px; padding: 0 20px 18px; }
.accordion-a p { margin: 0; font-size: 0.92rem; }
.legal-content h2 { margin-top: 36px; }
.legal-content h3 { margin-top: 24px; }
.legal-content p, .legal-content li { color: var(--grey-700); font-size: 0.96rem; }
.legal-content { max-width: 820px; margin: 0 auto; }
.two-col-content { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col-content { grid-template-columns: 1fr; gap: 32px; } }
.tick-list { list-style: none; padding: 0; }
.tick-list li { padding-left: 30px; position: relative; margin-bottom: 12px; font-size: 0.98rem; color: var(--grey-700); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; background: var(--orange); color: var(--white); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.pill-tag { display: inline-block; background: var(--navy-100); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0; }

/* ---------- Contact Form 7 compatibility ---------- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type=file] { padding: 10px; border: 1.5px dashed var(--grey-300); border-radius: var(--radius-sm); background: var(--navy-50); font-size: 0.85rem; }
.wpcf7-list-item { margin: 4px 12px 4px 0 !important; display: inline-flex; align-items: center; gap: 6px; }
.wpcf7-acceptance .wpcf7-list-item { display: flex; align-items: flex-start; }
.wpcf7-not-valid-tip { color: #C0392B; font-size: 0.82rem; margin-top: 6px; display: block; font-family: var(--font-body); }
.wpcf7-response-output { border-radius: var(--radius-sm) !important; padding: 14px 16px !important; font-size: 0.92rem; margin: 18px 0 0 !important; border: 1.5px solid var(--grey-300) !important; }
.wpcf7-mail-sent-ok { border-color: var(--success) !important; color: var(--success) !important; background: #EAF7F0; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng { border-color: #C0392B !important; color: #C0392B !important; background: #FDECEA; }
.wpcf7-spinner { margin-left: 10px; }
.wpcf7 .btn[disabled] { opacity: 0.6; cursor: not-allowed; }
form.wpcf7-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }

/* Three-stage project photo strip */
.stage-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.stage-gallery figure { margin:0; position:relative; overflow:hidden; border-radius:10px; background:var(--grey-100); }
.stage-gallery img { width:100%; height:100%; aspect-ratio:3/4; object-fit:cover; display:block; }
.stage-gallery figcaption { position:absolute; left:7px; bottom:7px; background:rgba(0,42,77,.86); color:#fff; padding:4px 7px; border-radius:999px; font-size:.68rem; font-weight:700; }
.stage-gallery--landscape { gap:12px; }
.stage-gallery--landscape img { aspect-ratio:4/3; }
.project-photo-caption { margin:12px 2px 0; color:var(--navy); font-family:var(--font-head); font-size:.9rem; font-weight:600; }
.gallery-item-wide { grid-column:1 / -1; }
.stage-project-card { padding:28px; border:1px solid var(--grey-300); border-radius:var(--radius); background:var(--navy-50); box-shadow:var(--shadow-sm); }
.stage-project-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.85fr); column-gap:32px; align-items:end; margin-bottom:20px; }
.stage-project-heading .eyebrow { grid-column:1 / -1; justify-self:start; }
.stage-project-heading h2, .stage-project-heading p { margin-bottom:0; }
.stage-project-heading p { text-align:right; }
@media (max-width:782px) {
  .stage-project-card { padding:20px; }
  .stage-project-heading { grid-template-columns:1fr; gap:6px; }
  .stage-project-heading p { text-align:left; }
}
@media (max-width:640px){ .stage-gallery { grid-template-columns:1fr; } .stage-gallery img { aspect-ratio:4/3; } }
