:root {
  --bg: #f4efe6;
  --surface: #fffdf8;
  --ink: #16212d;
  --muted: #5f6b77;
  --line: rgba(22, 33, 45, 0.12);
  --navy: #10273f;
  --navy-soft: #1a3b5e;
  --gold: #d59d31;
  --sand: #e7d4b4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 39, 63, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 157, 49, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, #f2ece2 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  font-size: 0.88rem;
}
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}
.top-bar a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.top-bar a:hover { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid var(--line);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), #f0c565); color: var(--navy);
  font-family: "Outfit", sans-serif; font-weight: 800;
}
.brand-copy { display: flex; flex-direction: column; gap: 0.12rem; }
.brand-copy strong, .site-nav a, h1, h2, h3 { font-family: "Outfit", sans-serif; }
.brand-copy small { color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--navy-soft); border-bottom: 2px solid var(--gold); }
.nav-toggle { display: none; }

.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  list-style: none; cursor: pointer; font-weight: 500; font-family: "Outfit", sans-serif;
  display: inline-flex; align-items: center; gap: 0.35rem; color: inherit;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: "\25BE"; font-size: 0.7em; color: var(--muted); }
.nav-dropdown.is-current > summary { color: var(--navy-soft); border-bottom: 2px solid var(--gold); }
.nav-dropdown-menu {
  display: flex; flex-direction: column; gap: 0.15rem; min-width: 220px;
  padding: 0.5rem; margin-top: 0.6rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
}
.nav-dropdown-menu a { padding: 0.5rem 0.6rem; border-radius: 8px; }
.nav-dropdown-menu a:hover { background: rgba(16, 39, 63, 0.06); }
@media (min-width: 761px) {
  .nav-dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 40; }
}

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.85rem 1.25rem; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--white);
  font-weight: 700; box-shadow: var(--shadow); cursor: pointer;
}
.button-secondary { background: transparent; color: var(--navy); border: 1px solid rgba(16, 39, 63, 0.18); box-shadow: none; }
.button-nav { min-height: 42px; padding-inline: 1rem; }

.hero { padding: 4rem 0 3rem; }
.hero-grid, .split-layout, .quote-shell, .footer-shell { display: grid; gap: 2rem; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.hero-photo {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,39,63,0) 40%, rgba(16,39,63,0.55) 100%);
}
.hero-photo-caption {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 2;
  color: #fff; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 0.95rem;
}
.service-photo { border-radius: 18px; overflow: hidden; margin-bottom: 1.1rem; aspect-ratio: 16/10; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.industries-photo-band {
  border-radius: var(--radius); overflow: hidden; margin-top: 2rem; aspect-ratio: 21/7; position: relative;
}
.industries-photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.9); }

.eyebrow {
  margin: 0 0 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-soft); font-weight: 700; font-size: 0.82rem;
}
h1, h2, h3 { line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); max-width: 15ch; }
h2 { font-size: clamp(2rem, 3vw, 3rem); max-width: 16ch; }
h3 { font-size: 1.25rem; }

.lead, .section-heading p, .split-layout p, .service-card p, .stat-copy, .quote-shell p, .site-footer p {
  color: var(--muted); font-size: 1.05rem; line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; margin: 1.8rem 0 1.2rem; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.8rem; padding: 0; margin: 0; list-style: none; }
.hero-points li, .service-areas span, .industry-card, .trust-items span {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 0.7rem 1rem;
}

.hero-card { display: grid; gap: 1rem; }
.stat-card, .service-card, .bullet-panel, .about-panel, .quote-form, .process-card, .faq-item, .review-card, .gallery-card {
  background: var(--surface); border: 1px solid rgba(16, 39, 63, 0.08); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-card { padding: 1.5rem; }
.accent-card { background: linear-gradient(145deg, #173554, #10273f); color: var(--white); }
.accent-card .stat-copy, .accent-card .stat-label { color: rgba(255, 255, 255, 0.8); }
.stat-label { margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--muted); }
.stat-value { font-family: "Outfit", sans-serif; font-size: 1.7rem; font-weight: 800; margin-bottom: 0.6rem; }

.trust-strip { padding: 0 0 1.5rem; }
.trust-items { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.section { padding: 4.5rem 0; }
.section-dark { background: linear-gradient(135deg, #10273f, #183a5d); color: var(--white); }
.section-dark .eyebrow, .section-dark p { color: rgba(255, 255, 255, 0.78); }
.section-accent { background: linear-gradient(180deg, rgba(213, 157, 49, 0.14), rgba(231, 212, 180, 0.34)); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.service-card { padding: 1.5rem; }
.service-card ul, .about-panel ul, .process-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.8; }
.service-card .price-note {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--navy-soft); font-weight: 600;
}

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.industry-card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); border-radius: 22px; padding: 1.3rem; font-family: "Outfit", sans-serif; font-weight: 600; }
.industry-card small { display: block; font-family: "Source Sans 3", sans-serif; font-weight: 400; color: rgba(255,255,255,0.7); margin-top: 0.4rem; font-size: 0.85rem; }

.split-layout { grid-template-columns: 1fr 1fr; align-items: start; }
.bullet-panel, .about-panel { padding: 1.5rem; }
.bullet-panel { display: grid; gap: 1rem; }
.service-areas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.process-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.process-card { padding: 1.5rem; }

.quote-shell { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.quote-form { padding: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.quote-form label { display: grid; gap: 0.45rem; font-weight: 600; }
.full-width { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; border: 1px solid rgba(16, 39, 63, 0.16); border-radius: 16px; background: #fff;
  padding: 0.95rem 1rem; font: inherit; color: var(--ink);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.form-status { grid-column: 1 / -1; font-weight: 600; }

.site-footer { padding: 2rem 0 3rem; }
.footer-shell { grid-template-columns: 1fr auto; align-items: center; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-contact { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; font-weight: 600; }

/* Breadcrumbs (used on every inner page for internal linking + BreadcrumbList schema) */
.breadcrumbs { padding: 1.2rem 0 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--line); }
.breadcrumbs a:hover { color: var(--navy-soft); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Simpler hero used on inner (non-home) pages */
.page-hero { padding: 2.6rem 0 3rem; }
.page-hero .eyebrow { margin-bottom: 0.6rem; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 60ch; margin-top: 1rem; }

/* FAQ accordion */
.faq-list { display: grid; gap: 1rem; }
.faq-item { padding: 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.3rem 1.5rem; font-family: "Outfit", sans-serif;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 1.5rem 1.3rem; color: var(--muted); line-height: 1.65; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.gallery-card { overflow: hidden; padding: 0; }
.gallery-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-card figcaption { padding: 1rem 1.2rem; font-weight: 600; font-size: 0.92rem; }
.gallery-note {
  border: 1px dashed rgba(16, 39, 63, 0.3); border-radius: var(--radius); padding: 1.4rem;
  color: var(--navy-soft); background: rgba(213, 157, 49, 0.08); font-size: 0.95rem; line-height: 1.6;
}

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.review-card { padding: 1.6rem; display: grid; gap: 0.8rem; }
.review-stars { color: var(--gold); letter-spacing: 0.15em; font-size: 1.1rem; }
.review-quote { color: var(--ink); font-style: italic; line-height: 1.6; margin: 0; }
.review-author { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 0.92rem; color: var(--navy-soft); }
.review-note {
  border: 1px dashed rgba(16, 39, 63, 0.3); border-radius: var(--radius); padding: 1.4rem;
  color: var(--navy-soft); background: rgba(213, 157, 49, 0.08); font-size: 0.95rem; line-height: 1.6; margin-top: 1.5rem;
}

/* Contact / address */
.contact-grid { display: grid; grid-template-columns: 1fr; }
.contact-card { padding: 1.6rem; display: grid; gap: 1rem; }
.contact-card address { font-style: normal; line-height: 1.7; }

/* Location page stat row */
.location-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }

@media (max-width: 980px) {
  .hero-grid, .cards-grid, .industry-grid, .split-layout, .quote-shell, .process-grid,
  .gallery-grid, .review-grid, .contact-grid, .location-stats { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .top-bar .container { justify-content: center; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0.75rem 1rem; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); font: inherit; font-weight: 700; color: var(--navy);
  }
  .site-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.4rem); display: none;
    flex-direction: column; align-items: stretch; gap: 0.9rem; padding: 1rem; border-radius: 20px;
    background: rgba(255, 253, 248, 0.98); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-dropdown-menu { padding-left: 0.75rem; border: none; box-shadow: none; margin-top: 0.4rem; }
  h1 { max-width: 13ch; }
  .page-hero h1 { max-width: 15ch; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
