/* M/S VKJJVBBNINFRA — site styles.
   Preview: python3 -m http.server 8765
   Then open http://127.0.0.1:8765/ */

:root {
  --navy: #0b2545;
  --navy-deep: #07182e;
  --ink: #1f2937;
  --muted: #4b5563;
  --orange: #f97316;
  --orange-ink: #9a3412;
  --orange-soft: #fff7ed;
  --white: #ffffff;
  --paper: #f4f6f8;
  --line: rgba(11, 37, 69, 0.14);
  --on-navy: #e5e7eb;
  --header-offset: 108px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(7, 24, 46, 0.16);
  --max: 1180px;
  --focus: 3px solid #9a3412;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
:target, section[id], article[id] { scroll-margin-top: 7.5rem; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 5.75rem;
}

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--navy); text-underline-offset: 0.18em; }

a:hover { color: var(--orange-ink); }

h1, h2, h3, .logo-text, .stat-num {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700; color: var(--white); }

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 650; color: var(--navy); }

h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); }

p { margin: 0 0 0.9rem; }

ul, ol { margin: 0; padding: 0; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.section { padding: 3.5rem 0; }

.section-head { max-width: 42rem; margin-bottom: 1.75rem; }

.section-head p:last-child { margin-bottom: 0; color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  color: var(--orange-ink);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--orange);
}

.lede { font-size: 1.12rem; max-width: 40rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  font-weight: 600;
}

.skip-link:focus { top: 0.75rem; outline: var(--focus); outline-offset: 2px; }

:focus-visible {
  outline: 3px solid #9a3412;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff;
}

::selection { background: var(--orange); color: var(--navy); }

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal.is-in { opacity: 1; transform: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border: 2px solid transparent;
  background: transparent;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  line-height: 1.2;
}

.btn-accent { background: var(--orange); color: var(--navy); }
.btn-accent:hover { background: #ea6a0c; color: var(--navy); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }

.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }

.btn-line { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-line:hover { border-color: var(--orange-ink); color: var(--orange-ink); }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.quote-short { display: none; }

.sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar { background: var(--navy); color: var(--on-navy); font-size: 0.86rem; overflow: hidden; max-height: 4.5rem; transition: max-height 0.25s ease; }

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0;
}

.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fdba74; }

.is-shrunk .topbar { max-height: 0; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 4.25rem;
}

.is-shrunk .header-inner { min-height: 3.5rem; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.logo:hover { color: var(--navy); }

.logo-mark { flex: 0 0 auto; }

.logo-text {
  font-weight: 700;
  font-size: clamp(0.78rem, 2.4vw, 1.05rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.header-quote { margin-left: auto; padding-inline: 0.75rem; }
.logo, .header-quote, .nav-toggle { position: relative; z-index: 46; }
.nav-quote { display: none; width: calc(100% - 2rem); margin: 0.5rem 1rem 0; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"] { color: var(--orange-ink); box-shadow: inset 0 -2px 0 var(--orange); }

.hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; color: var(--white); background: var(--navy-deep); overflow: hidden; }

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 46, 0.92) 0%, rgba(7, 24, 46, 0.78) 46%, rgba(7, 24, 46, 0.35) 100%);
}

.hero-grid { position: relative; z-index: 1; width: 100%; padding: 7.5rem 0 2.5rem; }

.hero .eyebrow { color: #fdba74; }
.hero .lede { color: var(--on-navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.site-board {
  margin-top: 1.5rem;
  background: var(--white);
  color: var(--ink);
  border-top: 4px solid var(--orange);
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: var(--shadow);
}

.site-board h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.site-board p { color: var(--muted); font-size: 0.95rem; }

.stats { background: var(--ink); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 1.25rem 0.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); }
.stat-num span { color: #fdba74; }
.stat p { margin: 0.2rem 0 0; color: var(--on-navy); font-size: 0.92rem; }

.service-grid, .why-grid, .team-grid, .badge-grid, .equip-grid, .office-grid, .value-grid, .gallery {
  display: grid;
  gap: 0.85rem;
}

.service-card, .why-item, .team-card, .badge, .equip-card, .office-card, .project-card, .value-card {
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1rem 1rem 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover { border-color: var(--orange); transform: translateY(-3px); color: inherit; }

.service-ico, .why-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.service-index { color: var(--orange-ink); font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; }
.service-card p, .why-item p, .value-card p, .equip-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.more { margin-top: auto; color: var(--orange-ink); font-weight: 600; font-size: 0.92rem; }

.band { background: var(--paper); }

.why { background: var(--navy); color: var(--white); }
.why h2, .why h3 { color: var(--white); }
.why .section-head p, .why-item p { color: var(--on-navy); }
.why .eyebrow { color: #fdba74; }
.why-item { background: transparent; border-color: rgba(255, 255, 255, 0.16); padding: 1rem; }
.why-ico { background: rgba(249, 115, 22, 0.15); color: #fdba74; }

.carousel-head, .testi-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; }
.carousel-nav { display: flex; gap: 0.4rem; }
.icon-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.3rem;
}
.icon-btn:hover { border-color: var(--navy); }

.carousel-track, .testi-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.carousel-track::-webkit-scrollbar, .testi-track::-webkit-scrollbar { display: none; }

.project-slide, .testi-slide { scroll-snap-align: start; flex: 0 0 86%; }
.project-slide {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}
.project-slide:hover { color: inherit; border-color: var(--orange); }
.project-slide img, .project-hit img, .service-photo img, .story-photo img, .equip-card img { width: 100%; height: auto; }
.project-body, .project-hit { display: flex; flex-direction: column; gap: 0.25rem; }
.project-slide .project-body, .project-hit .project-body { padding: 0.85rem 0.9rem 1rem; }
.project-cat { color: var(--orange-ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.project-meta { color: var(--muted); font-size: 0.92rem; }

.project-hit {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.project-hit img,
.project-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.project-card { overflow: hidden; }
.project-video { background: var(--navy-deep); }
.project-video video {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  background: var(--navy-deep);
}
.project-card .project-body p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.95rem; }
.project-card:hover { border-color: var(--orange); }
.project-card[hidden] { display: none; }

.process { list-style: none; display: grid; gap: 0.85rem; }
.process li { background: var(--white); border: 1px solid var(--line); padding: 1rem; }
.process span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.6rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
}
.process p { margin: 0.4rem 0 0; color: var(--muted); }

.testi-slide {
  background: var(--paper);
  border-top: 4px solid var(--orange);
  padding: 1.25rem 1rem 1.1rem;
}
.testi-slide blockquote { margin: 0 0 0.8rem; font-size: 1.15rem; color: var(--navy); }
.stars { margin: 0 0 0.7rem; color: var(--orange-ink); letter-spacing: 0.12em; font-size: 1.05rem; }
.testi-name { font-weight: 700; color: var(--navy); margin: 0; }
.testi-role { margin: 0; color: var(--muted); font-size: 0.92rem; }
.testi-dots { display: flex; gap: 0.4rem; margin-top: 0.8rem; }
.testi-dots button {
  width: 44px;
  height: 12px;
  border: 0;
  background: #d1d5db;
  padding: 0;
  cursor: pointer;
}
.testi-dots button[aria-current="true"] { background: var(--orange); }

.faq-list { display: grid; gap: 0.55rem; max-width: 48rem; }
.faq-item { border: 1px solid var(--line); background: var(--white); }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-item button {
  width: 100%;
  min-height: 52px;
  text-align: left;
  padding: 0.8rem 2.4rem 0.8rem 0.9rem;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}
.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 0.7rem;
  color: var(--orange-ink);
  font-size: 1.4rem;
}
.faq-item button[aria-expanded="true"]::after { content: "–"; }
.faq-item .faq-panel { padding: 0 0.9rem 0.9rem; color: var(--ink); }
.faq-item .faq-panel[hidden] { display: none; }

.cta-band { background: var(--navy) url("images/hero.webp") center/cover; position: relative; color: var(--white); }
.cta-band .container { position: relative; z-index: 1; padding: 3rem 0; }
.cta-shade { position: absolute; inset: 0; background: rgba(7, 24, 46, 0.88); }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { max-width: 38rem; color: var(--on-navy); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.page-hero { background: var(--navy); color: var(--white); padding: 2.2rem 0 1.8rem; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero p { color: var(--on-navy); max-width: 40rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; list-style: none; margin-bottom: 0.8rem; font-size: 0.92rem; }
.crumbs a { color: #fdba74; }
.crumbs li[aria-current="page"] { color: var(--white); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--on-navy); }

.story-grid, .split, .service-block { display: grid; gap: 1.25rem; }
.story-photo img, .service-photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.value-card, .badge, .equip-card, .office-card, .team-card { padding: 1rem; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 0.75rem; background: var(--paper); }
.team-card p, .badge p, .office-card p { margin: 0.25rem 0 0; color: var(--muted); }
.badge strong, .office-card h3 { display: block; }

.service-block { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.service-block h2 { margin-bottom: 0.6rem; }
.feature-list { margin: 0.4rem 0 1rem; padding-left: 1.1rem; }
.feature-list li { margin: 0.3rem 0; }
.service-block:nth-child(even) .service-copy { order: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.filters button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery-empty { padding: 1rem; background: var(--paper); }

.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(7, 24, 46, 0.82); }
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--white);
  padding: 1rem;
}
.lightbox-dialog img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.lightbox-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); font-weight: 650; margin: 0.7rem 0 0.3rem; }
.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.office-card a { font-weight: 600; }
.map-frame { border: 1px solid var(--line); background: var(--paper); }
.map-frame iframe { width: 100%; height: 280px; border: 0; }
.map-link { margin: 0.55rem 0 0; }

.tabs { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; }
.tabs button {
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }

.form { display: grid; gap: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-weight: 600; color: var(--navy); font-size: 0.96rem; }
.req { color: var(--orange-ink); font-weight: 600; }
.hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.7rem;
  border: 1px solid #9ca3af;
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--orange-ink);
  background: var(--orange-soft);
}
.field-error { margin: 0; color: var(--orange-ink); font-size: 0.9rem; font-weight: 600; }
.field-error[hidden] { display: none; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; flex: 0 0 auto; }
.form-status { min-height: 1.3rem; margin: 0; font-weight: 600; color: var(--navy); }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background: rgba(7, 24, 46, 0.72);
}
.modal-dialog {
  width: min(760px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  background: var(--white);
  padding: 1.1rem 1rem 1.2rem;
  border-top: 4px solid var(--orange);
  position: relative;
}
.modal-dialog h2 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 2.5rem 0 1.2rem; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.7rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fdba74; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand p { color: var(--on-navy); }
.footer-links, .footer-services { list-style: none; display: grid; gap: 0.35rem; }
.footer-links a, .footer-services a, .footer-contact a { display: inline-flex; min-height: 32px; align-items: center; }
.addr { margin: 0 0 0.7rem; }
.addr strong { color: var(--white); }
.footer-contact .form { margin-top: 0.8rem; }
.site-footer .field label,
.site-footer .form-status { color: var(--white); }
.site-footer .req,
.site-footer .field-error { color: #fdba74; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-base p { margin: 0; }
.social { display: flex; gap: 0.4rem; list-style: none; }
.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.wa-float {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #08301a;
  border-radius: 50%;
  box-shadow: var(--shadow);
  text-decoration: none;
  animation: wa-pulse 2s infinite;
}
.wa-float:hover { color: #08301a; }
.wa-tip {
  position: absolute;
  right: 68px;
  background: var(--navy);
  color: var(--white);
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; }

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.chat-launcher {
  position: fixed;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 45;
  min-height: 52px;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.chat-panel[hidden] { display: none !important; }
.chat-panel {
  position: fixed;
  left: 0.7rem;
  bottom: 4.6rem;
  z-index: 60;
  width: min(380px, calc(100vw - 1.2rem));
  height: min(540px, calc(100vh - 8rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.chat-head, .chat-compose { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem; }
.chat-head { background: var(--navy); color: var(--white); justify-content: space-between; }
.chat-head h2 { color: var(--white); font-size: 1rem; }
.chat-head button, .chat-compose button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.chat-head button { background: transparent; color: var(--white); font-size: 1.3rem; }
.chat-log { flex: 1; overflow: auto; padding: 0.7rem; display: flex; flex-direction: column; gap: 0.45rem; background: var(--paper); }
.chat-msg { max-width: 92%; padding: 0.55rem 0.7rem; font-size: 0.95rem; }
.chat-msg.bot { background: var(--white); border: 1px solid var(--line); align-self: flex-start; }
.chat-msg.user { background: var(--navy); color: var(--white); align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.45rem 0.6rem 0; }
.chat-quick button {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 36px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 0.86rem;
}
.chat-compose input { flex: 1; min-height: 44px; border: 1px solid #9ca3af; padding: 0.4rem 0.55rem; }
.chat-link { font-weight: 700; }

.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: var(--navy);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
}
.callbar a + a { background: #25d366; color: #08301a; }

.thanks { padding: 3rem 0 4rem; }
.thanks-card { max-width: 40rem; border-top: 4px solid var(--orange); background: var(--paper); padding: 1.4rem 1.1rem; }
.thanks-card h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }

.hours-card { background: var(--paper); border: 1px solid var(--line); padding: 1rem; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-block; }
  .js .site-nav {
    position: fixed;
    top: var(--nav-top, 10.5rem);
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    background: var(--white);
    transform: translateX(104%);
    visibility: hidden;
    padding: 0.75rem 0 calc(6.5rem + env(safe-area-inset-bottom));
    overflow: auto;
    box-shadow: var(--shadow);
    z-index: 45;
  }
  .js .site-nav.is-open { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 0.4rem 1rem; }
  .nav-quote { display: inline-flex; }
  .header-quote { margin-left: 0; }
  .header-inner .header-quote { margin-left: auto; }
}

@media (max-width: 1023px) {
  .hero { align-items: flex-start; min-height: 0; }
}

@media (max-width: 767px) {
  .topbar { max-height: 8.5rem; }
  .callbar { display: flex; }
  body { padding-bottom: calc(8.75rem + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .chat-launcher { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .chat-panel { bottom: calc(8.2rem + env(safe-area-inset-bottom)); height: min(480px, calc(100vh - 12rem)); }
  .wa-tip { display: none; }
  .quote-long { display: none; }
  .quote-short { display: inline; }
}

@media (max-width: 1023px) {
  .hero-grid { padding-top: 1.15rem; padding-bottom: 1.25rem; }
  .hero-copy {
    min-height: calc(100svh - 9.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .container { width: min(var(--max), calc(100% - 3rem)); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.12); padding: 1.6rem 1rem; }
  .stat:last-child { border-right: 0; }
  .service-grid, .why-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .equip-grid, .office-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .badge-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr 1fr; }
  .project-slide { flex-basis: calc(50% - 0.45rem); }
  .form.two, .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .site-nav { margin-left: auto; }
  .header-quote { margin-left: 0.4rem; }
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 2rem; align-items: end; padding-top: 8rem; }
  .site-board { margin-top: 0; }
  .project-slide { flex-basis: calc(33.333% - 0.6rem); }
  .story-grid, .service-block { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
  .service-block:nth-child(even) .service-photo { order: -1; }
  .team-grid, .equip-grid { grid-template-columns: repeat(4, 1fr); }
  .office-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 0.7fr 0.9fr 1.2fr; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
  .header-quote { margin-left: 0.4rem; }
}

@media (min-width: 1440px) {
  :root { --max: 1240px; }
  h1 { font-size: 4rem; }
  .hero { min-height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .sticky-wrap { position: static; }
  .wa-float, .chat-launcher, .chat-panel, .callbar, .nav-toggle, .hero-actions, .site-board, .footer-callback { display: none !important; }
  body { padding: 0; color: #000; }
  .hero { min-height: 0; }
}
