/* =========================================================================
   New Edge Construction — design tokens
   Direction: "blueprint / spec-sheet" — deep navy + steel, safety-amber
   accent, cyanotype-blue grid linework as the signature motif, mono type
   for measurements & project metadata (the way a drawing sheet annotates).
   ========================================================================= */

:root {
  --ink: #0f2438;
  --ink-2: #16324a;
  --steel: #4c5c6b;
  --steel-light: #8b98a4;
  --paper: #f3f5f6;
  --paper-2: #e7ebed;
  --line: #d7dee2;
  --amber: #f5a623;
  --amber-dark: #d88a0f;
  --blueprint: #2e6e95;
  --blueprint-light: #6fa8c9;
  --white: #ffffff;
  --success-bg: #eaf6ee;
  --success-text: #1f7a3d;
  --error-bg: #fdeceb;
  --error-text: #b3261e;

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Courier New', ui-monospace, monospace;

  --container-w: 1180px;
  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(15, 36, 56, 0.06), 0 8px 24px rgba(15, 36, 56, 0.06);
}

* { box-sizing: border-box; }
/* The [hidden] attribute loses to any author rule that sets `display` on the same
   element (e.g. .contact-form { display: flex }), since both are author-origin CSS
   and the UA's `[hidden] { display: none }` only wins on unset display. Force it. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--steel); max-width: 70ch; text-wrap: pretty; }
a { color: var(--blueprint); text-decoration: none; }
a:hover { color: var(--ink); }
ul { padding: 0; margin: 0; list-style: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-dark); color: var(--ink); transform: translateY(-1px); }
.btn--outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.page-hero--sm .btn--outline, .service-detail-aside .btn--outline { border-color: var(--ink); color: var(--ink); }
.page-hero--sm .btn--outline:hover, .service-detail-aside .btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--block { width: 100%; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--blueprint);
  font-weight: 700;
  margin: 0 0 10px;
}

.link-arrow { font-weight: 700; color: var(--blueprint); font-size: 0.92rem; }
.link-arrow:hover { color: var(--ink); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: var(--paper-2); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; }
.topbar-info { display: flex; gap: 20px; }
.topbar-link { color: var(--paper-2); }
.topbar-link:hover { color: var(--amber); }
.topbar-license { font-family: var(--font-mono); color: var(--steel-light); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark-img { display: block; height: 44px; width: auto; flex-shrink: 0; }
.brand-mark-chip {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); padding: 6px 10px; border-radius: var(--radius);
  flex-shrink: 0;
}
.brand-mark-chip .brand-mark-img { height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.brand-tag { font-size: 0.72rem; color: var(--steel); font-family: var(--font-mono); letter-spacing: 0.03em; }
.brand--footer .brand-name, .brand--footer .brand-tag { color: var(--white); }
.brand--footer .brand-tag { color: var(--steel-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav > ul > li > a { font-weight: 600; color: var(--ink); font-size: 0.95rem; padding: 8px 0; }
.main-nav > ul > li > a:hover { color: var(--blueprint); }
.main-nav .nav-cta {
  background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700;
}
.main-nav .nav-cta:hover { background: var(--blueprint); color: var(--white); }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: -20px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  padding: 20px; gap: 32px; min-width: 460px;
  grid-template-columns: 1fr 1fr;
}
.dropdown--single { grid-template-columns: 1fr; min-width: 220px; }
.has-dropdown--right .dropdown { left: auto; right: 0; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: grid; }
.dropdown-col h4 {
  font-family: var(--font-mono); text-transform: uppercase; font-size: 0.72rem;
  letter-spacing: 0.1em; color: var(--steel-light); margin-bottom: 10px;
}
.dropdown-col a { display: block; padding: 6px 0; font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.dropdown-col a:hover { color: var(--blueprint); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; padding: 10px 0; }
.breadcrumbs li { display: flex; align-items: center; font-size: 0.82rem; font-family: var(--font-mono); }
.breadcrumbs a { color: var(--steel); }
.breadcrumbs a:hover { color: var(--blueprint); }
.crumb-sep { margin: 0 8px; color: var(--steel-light); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- Hero (blueprint grid signature) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  background-image:
    linear-gradient(rgba(46,110,149,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,110,149,0.35) 1px, transparent 1px),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero::before, .hero::after {
  content: ''; position: absolute; width: 26px; height: 26px;
  border: 2px solid var(--blueprint-light); opacity: 0.6;
}
.hero::before { top: 28px; left: 24px; border-right: none; border-bottom: none; }
.hero::after { bottom: 28px; right: 24px; border-left: none; border-top: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: var(--white); }
.hero-lede { color: var(--paper-2); font-size: 1.08rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 26px 0 34px; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy > .eyebrow { animation-delay: 0.05s; }
.hero-copy > h1 { animation-delay: 0.12s; }
.hero-copy > .hero-lede { animation-delay: 0.22s; }
.hero-copy > .hero-actions { animation-delay: 0.32s; }
.hero-copy > .hero-stats { animation-delay: 0.4s; }
.hero-media { animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-media { animation: none; }
}

.hero-stats { display: flex; gap: 34px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-mono); font-size: 1.6rem; color: var(--amber); font-weight: 700; }
.hero-stats span { font-size: 0.78rem; color: var(--steel-light); }
.hero-media {
  height: 460px; border-radius: var(--radius);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(180deg, rgba(15,36,56,0.15) 0%, rgba(15,36,56,0.05) 45%, rgba(15,36,56,0.92) 100%),
    var(--hero-media-image, none);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(111,168,201,0.4);
  position: relative;
}
.hero-media::before {
  content: 'FL GENERAL CONTRACTOR · LIC# ' attr(data-license);
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--blueprint-light); letter-spacing: 0.06em;
  background: rgba(15,36,56,0.65); padding: 5px 10px; border-radius: 2px;
}
.hero-media-caption {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  font-size: 0.92rem; font-weight: 600; color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.page-hero { background: var(--ink); color: var(--white); padding: 64px 0; }
.page-hero--sm { padding: 56px 0 48px; }
.page-hero h1 { color: var(--white); }
.page-hero-lede { color: var(--paper-2); max-width: 62ch; font-size: 1.05rem; }
.page-hero--service { background-size: cover; background-position: center; padding: 90px 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--muted { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; }

/* ---------- Category / Why ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blueprint);
  padding: 28px; border-radius: 0;
}
.category-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.category-card a { font-weight: 600; font-size: 0.92rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-copy p { font-size: 1.02rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; }
.why-list li::before { content: ''; width: 8px; height: 8px; margin-top: 6px; background: var(--amber); flex-shrink: 0; }
.why-list strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.why-list span { font-size: 0.88rem; color: var(--steel); }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-grid--full { grid-template-columns: repeat(2, 1fr); }
.project-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.project-card-media {
  height: 190px; background-color: var(--steel); background-size: cover; background-position: center;
  background-image: linear-gradient(135deg, var(--ink-2), var(--steel));
}
.project-card-media[style*="url"] { background-blend-mode: overlay; }
.project-card-body { padding: 20px; }
.project-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blueprint); background: rgba(46,110,149,0.1);
  padding: 4px 8px; border-radius: 2px; margin-bottom: 10px;
}
.project-tag--live { background: rgba(245,166,35,0.15); color: var(--amber-dark); margin-left: 8px; }
.project-meta { font-family: var(--font-mono); font-size: 0.85rem; }
.project-card--static { cursor: default; }

/* ---------- Service areas ---------- */
.area-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-extended-note { margin-top: 24px; font-size: 0.95rem; max-width: 68ch; }
.area-extended-note strong { color: var(--ink); }
.area-chip {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.9rem;
}
.area-chip:hover { border-color: var(--blueprint); color: var(--blueprint); }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.area-card {
  display: block; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--amber);
  border-radius: 0; background: var(--white);
}
.area-region { font-family: var(--font-mono); font-size: 0.78rem; color: var(--blueprint); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.testimonial-card p { color: var(--ink); font-size: 1rem; }
.testimonial-card footer { display: flex; flex-direction: column; margin-top: 14px; font-size: 0.85rem; }
.testimonial-card footer span { color: var(--steel); }

/* ---------- Homepage tools callout ---------- */
.tools-callout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.tools-callout-cards { display: grid; gap: 18px; }
.tools-callout-card {
  display: block; padding: 24px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tools-callout-card:hover { border-color: var(--amber-dark); transform: translateY(-2px); }
.tools-callout-card h3 { margin-bottom: 6px; }
.tools-callout-card p { font-size: 0.92rem; margin-bottom: 10px; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; background: var(--ink-2); border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { margin: 12px 0 0; font-weight: 600; font-size: 0.92rem; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blueprint); color: var(--white); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 46px 24px; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper-2); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); margin-bottom: 16px; }
.footer-col-heading--spaced { margin-top: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--paper-2); font-size: 0.9rem; }
.footer-col a:hover { color: var(--amber); }
.footer-brand p { color: var(--steel-light); font-size: 0.88rem; }
.footer-license { font-family: var(--font-mono); color: var(--blueprint-light) !important; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--steel); border-radius: 50%; font-size: 0.7rem; font-family: var(--font-mono);
}
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }
.footer-contact li { color: var(--paper-2); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 20px 24px; font-size: 0.8rem; color: var(--steel-light); }
.footer-bottom a { color: var(--steel-light); }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card-media { height: 160px; background-color: var(--ink-2); background-size: cover; background-position: center; }
.service-card-body { padding: 20px; }
.service-card-body p { font-size: 0.9rem; }

.service-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.service-detail-copy p { font-size: 1.02rem; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  width: 18px; height: 18px; background: var(--amber); color: var(--ink); font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border-radius: 3px;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.faq-item p { margin-top: 10px; margin-bottom: 0; }

.service-detail-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--white);
}
.contact-card--cta { background: var(--paper); border-top: 3px solid var(--amber); border-radius: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.related-services { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.related-services h4 { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--steel-light); margin-bottom: 12px; }
.related-services ul { display: flex; flex-direction: column; gap: 8px; }
.related-services a { font-size: 0.9rem; font-weight: 600; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { border-top: 3px solid var(--blueprint); padding-top: 16px; }
.process-num { font-family: var(--font-mono); color: var(--steel-light); font-size: 0.85rem; }

.founder-title { font-family: var(--font-mono); color: var(--blueprint); font-size: 0.85rem; margin-top: -8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 46px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
input, textarea, select {
  font-family: var(--font-body); font-size: 0.95rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--blueprint); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 20px; }
.alert--success { background: var(--success-bg); color: var(--success-text); }
.alert--error { background: var(--error-bg); color: var(--error-text); }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.blog-card h2 { font-size: 1.1rem; }
.blog-card time { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel-light); }
.blog-post-header { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.blog-post-meta { font-family: var(--font-mono); font-size: 0.85rem; }
.blog-post-body h2 { margin-top: 1.6em; font-size: 1.3rem; }
.blog-post-body p { font-size: 1.02rem; }
.blog-post-cta {
  margin-top: 40px; padding: 28px; background: var(--paper); border-radius: var(--radius); text-align: center;
}
.blog-post-cta h3 { margin-bottom: 14px; }

/* ---------- Tools: shared step/option primitives ---------- */
.estimator-progress { display: flex; align-items: center; margin-bottom: 36px; }
.estimator-progress-step {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: var(--steel-light);
  flex-shrink: 0; background: var(--white);
}
.estimator-progress-step.is-active { border-color: var(--amber); color: var(--ink); background: var(--amber); }
.estimator-progress-step.is-complete { border-color: var(--blueprint); color: var(--white); background: var(--blueprint); }
.estimator-progress-line { flex: 1; height: 2px; background: var(--line); margin: 0 6px; }

.estimator-step { display: none; }
.estimator-step.is-active { display: block; animation: hero-rise 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }

.estimator-hint { font-size: 0.85rem; color: var(--steel-light); margin-top: -8px; }
.estimator-actions { display: flex; gap: 14px; margin-top: 24px; }
.estimator-actions .btn { flex: 1; }
.estimator-step > .btn { margin-top: 24px; }

.estimator-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 20px 0; }
.estimator-option {
  padding: 18px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-weight: 700; font-size: 0.95rem; color: var(--ink); cursor: pointer; text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.estimator-option:hover { border-color: var(--blueprint-light); }
.estimator-option.is-selected { border-color: var(--blueprint); background: rgba(46,110,149,0.08); }

.estimator-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.estimator-checkbox input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }

.estimator-result { text-align: center; padding: 32px; background: var(--paper); border-radius: var(--radius); margin-bottom: 28px; }
.estimator-result-blur {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--ink);
  filter: blur(9px); user-select: none; transition: filter 0.4s ease;
}
.estimator-result.is-unlocked .estimator-result-blur { filter: none; }
.estimator-result-caption { margin-top: 12px; margin-bottom: 0; font-size: 0.9rem; }
.estimator-final-value { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--blueprint); }

.estimator-success { text-align: center; padding: 28px; background: var(--success-bg); border-radius: var(--radius); }
.estimator-success h3 { color: var(--success-text); }

/* ---------- Storm damage checker ---------- */
.storm-symptom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.storm-symptom {
  display: flex; align-items: center; gap: 12px; padding: 16px; text-align: left;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-weight: 600; font-size: 0.9rem; color: var(--ink); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.storm-symptom:hover { border-color: var(--blueprint-light); }
.storm-symptom-check {
  width: 22px; height: 22px; border-radius: 4px; border: 2px solid var(--line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: transparent;
  transition: all 0.15s ease;
}
.storm-symptom.is-selected { border-color: var(--amber-dark); background: rgba(245,166,35,0.1); }
.storm-symptom.is-selected .storm-symptom-check { background: var(--amber); border-color: var(--amber-dark); color: var(--ink); }

.storm-result { margin-top: 32px; padding: 28px; border-radius: 0; background: var(--paper); border-top: 4px solid var(--steel); }
.storm-result--low { border-top-color: var(--blueprint); }
.storm-result--moderate { border-top-color: var(--amber); }
.storm-result--high { border-top-color: var(--error-text); }
.storm-result .contact-form { margin-top: 24px; }

/* ---------- Project status ---------- */
.status-result { border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.status-stages { margin: 28px 0; display: flex; flex-direction: column; }
.status-stage { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 0 10px 4px; }
.status-stage:not(:last-child)::before {
  content: ''; position: absolute; left: 10px; top: 32px; bottom: -10px; width: 2px; background: var(--line);
}
.status-stage-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--line);
  flex-shrink: 0; position: relative; z-index: 1;
}
.status-stage-label { color: var(--steel); font-weight: 600; font-size: 0.95rem; }
.status-stage.is-complete .status-stage-dot { background: var(--blueprint); border-color: var(--blueprint); }
.status-stage.is-complete .status-stage-label { color: var(--ink); }
.status-stage.is-complete:not(:last-child)::before { background: var(--blueprint); }
.status-stage.is-current .status-stage-dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245,166,35,0.2); }
.status-stage.is-current .status-stage-label { color: var(--ink); font-weight: 800; }
.status-note { background: var(--paper); border-radius: var(--radius); padding: 18px 20px; }
.status-note-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--blueprint); margin-bottom: 6px; }
.status-note p:last-child { margin-bottom: 0; }
.status-help { margin-top: 18px; font-size: 0.9rem; }

/* ---------- Misc ---------- */
.not-found { padding: 120px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { height: 260px; }
  .category-grid, .service-grid, .project-grid, .testimonial-grid, .blog-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-callout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-aside { position: static; }
}

@media (max-width: 720px) {
  .topbar-license { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: var(--shadow-card);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { display: block; padding: 14px 0; }
  .dropdown { position: static; display: none; box-shadow: none; border: none; padding: 0 0 10px; grid-template-columns: 1fr; min-width: 0; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: grid; }

  .category-grid, .service-grid, .project-grid, .project-grid--full, .testimonial-grid, .blog-grid, .area-grid, .video-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row--split { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card { transition: none; }
}
