:root {
  --bg: #f7f4ee;
  --bg-2: #fffaf2;
  --ink: #102233;
  --muted: #667586;
  --brand: #0b3b63;
  --brand-2: #155f8b;
  --accent: #f5b331;
  --accent-2: #ffe9b2;
  --line: rgba(16, 34, 51, 0.11);
  --card: rgba(255, 255, 255, 0.5);
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(11, 59, 99, 0.13);
  --shadow-soft: 0 18px 45px rgba(16, 34, 51, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 13vw, 150px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(245, 179, 49, 0.15), transparent 32rem),
    radial-gradient(circle at 100% 10%, rgba(11, 59, 99, 0.12), transparent 38rem),
    var(--bg);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  transform: translateY(-130%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

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

.section { padding: var(--section) 0; }
.section-shell { position: relative; overflow: clip; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 16px 0;
  transition: background .28s ease, box-shadow .28s ease, padding .28s ease, border-color .28s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(247, 244, 238, 0.84);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(16, 34, 51, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.brand-mark svg rect {
  fill: var(--brand);
  stroke: rgba(255,255,255,.5);
  stroke-width: 1.2;
}
.brand-mark svg path {
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-copy {
  display: grid;
  line-height: 1.05;
}
.brand-copy strong { font-size: 1rem; letter-spacing: -0.03em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: 10px 16px;
  border: 1px solid rgba(16, 34, 51, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
}
.desktop-nav a {
  font-size: .92rem;
  color: rgba(16,34,51,.74);
  font-weight: 700;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: white;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(11, 59, 99, .22);
  transition: transform .2s ease, background .2s ease;
}
.phone-pill:hover { transform: translateY(-2px); background: var(--brand-2); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  padding: 12px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  width: min(420px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
}
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
}
.mobile-nav a:hover { background: #f2eadf; }
.mobile-nav .mobile-call { background: var(--brand); color: white; margin-top: 8px; justify-content: center; }
.mobile-nav.is-open { display: grid; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(130px, 17vw, 190px) 0 clamp(78px, 10vw, 126px);
  background: #f7f4ee;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .82;
  filter: saturate(1.02) contrast(1.08) brightness(.92);
  transform: scale(1.045);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(247,244,238,.86) 0%,
      rgba(247,244,238,.70) 26%,
      rgba(247,244,238,.46) 52%,
      rgba(247,244,238,.22) 100%),
    linear-gradient(180deg,
      rgba(247,244,238,.56) 0%,
      rgba(247,244,238,.34) 42%,
      rgba(247,244,238,.74) 100%);
}
.mesh {
  position: absolute;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .42;
  z-index: 2;
}
.mesh-1 { left: -18vw; top: 14%; background: rgba(245, 179, 49, .35); }
.mesh-2 { right: -16vw; top: -8%; background: rgba(21, 95, 139, .21); }
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,34,51,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,34,51,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 16%, black 0, transparent 70%);
  z-index: 3;
}
.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}
.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}
.hero-title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: .9;
  letter-spacing: -.08em;
  color: var(--ink);
  font-size:60px;
}
.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 44px rgba(11, 59, 99, .25);
}
.btn-primary:hover { box-shadow: 0 22px 54px rgba(11, 59, 99, .32); }
.btn-secondary {
  color: var(--ink);
  background: rgba(255,255,255,.62);
  border-color: rgba(16, 34, 51, .12);
}
.btn-secondary:hover { background: white; border-color: rgba(16, 34, 51, .2); }
.btn-secondary.light { color: white; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
  max-width: 620px;
}
.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(16, 34, 51, .09);
  border-radius: 22px;
  background: rgba(255,255,255,.48);
}
.hero-metrics strong, .hero-metrics span {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 900;
  color: var(--brand);
}
.hero-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.3;
}
.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.diagnostic-card {
  width: min(100%, 430px);
  min-height: 455px;
  padding: clamp(24px, 4vw, 34px);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70)),
    rgba(255,255,255,.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.diagnostic-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(245,179,49,.32), transparent 70%);
}
.card-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(11, 59, 99, .07);
  color: var(--brand);
  font-size: .82rem;
  font-weight: 900;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.13);
}
.diagnostic-card h2 {
  margin: 42px 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.diagnostic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.mini-timeline {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 9px;
  margin: 34px 0;
}
.mini-timeline span {
  height: 7px;
  border-radius: 999px;
  background: rgba(11,59,99,.14);
}
.mini-timeline .active { background: var(--accent); }
.job-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-top: 12px;
  border: 1px solid rgba(16,34,51,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.65);
}
.job-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--brand);
  color: white;
}
.job-row div { display: grid; gap: 3px; flex: 1; }
.job-row strong { font-size: .95rem; }
.job-row small { color: var(--muted); font-weight: 700; }
.job-row em {
  font-style: normal;
  font-size: .8rem;
  font-weight: 900;
  color: var(--brand);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(245,179,49,.22);
}
.floating-tool {
  position: absolute;
  width: clamp(78px, 9vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  z-index: 1;
}
.floating-tool svg { width: 48%; fill: var(--brand); }
.tool-1 { left: 0; top: 46px; transform: rotate(-12deg); }
.tool-2 { right: -6px; top: 135px; transform: rotate(13deg); }
.tool-3 { left: 26px; bottom: 88px; transform: rotate(9deg); }

.trust-strip {
  padding: 34px 0;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.34);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2px 14px;
  padding: 18px;
  border-radius: 24px;
}
.trust-grid span {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: rgba(245,179,49,.24);
  font-size: .8rem;
  font-weight: 900;
}
.trust-grid strong { font-size: 1rem; letter-spacing: -.03em; }
.trust-grid small { color: var(--muted); line-height: 1.55; }

.section-heading { max-width: 760px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.narrow { max-width: 790px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.section-heading p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.service-card {
  min-height: 306px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(16,34,51,.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.62);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: attr(data-service);
  position: absolute;
  left: 24px;
  bottom: 12px;
  color: rgba(11, 59, 99, .04);
  font-size: clamp(2.3rem, 4.3vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.08em;
  white-space: nowrap;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  background: white;
  border-color: rgba(11, 59, 99, .18);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(245,179,49,.26);
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 900;
}
.service-card h3 {
  margin: 28px 0 10px;
  font-size: 1.32rem;
  letter-spacing: -.04em;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.service-card a {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 24px;
  color: var(--brand);
  font-weight: 900;
}

.estimator { padding-top: 0; }
.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(16,34,51,.09);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(245,179,49,.2), transparent 26rem),
    rgba(255,255,255,.56);
  box-shadow: var(--shadow-soft);
}
.quote-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 28px;
  background: var(--ink);
  color: white;
  box-shadow: 0 24px 70px rgba(16,34,51,.18);
}
.quote-panel label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: .85rem;
}
.quote-panel select,
.quote-panel input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  background: rgba(255,255,255,.08);
  color: white;
}
.quote-panel input::placeholder { color: rgba(255,255,255,.5); }
.quote-panel select option { color: var(--ink); }
.quote-panel select:focus,
.quote-panel input:focus { border-color: rgba(245,179,49,.75); box-shadow: 0 0 0 4px rgba(245,179,49,.12); }
.quote-button { width: 100%; margin-top: 6px; }
.quote-note {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.55;
}

.process { position: relative; overflow: clip; }
.process-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}
.process-line {
  width: min(850px, calc(100% - var(--gutter)));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,59,99,.2), transparent);
  margin: 48px auto -94px;
}
.process-card {
  min-height: 245px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(16,34,51,.09);
  background: rgba(255,255,255,.64);
  box-shadow: 0 12px 34px rgba(16,34,51,.05);
}
.process-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(11,59,99,.2);
}
.process-card h3 { margin: 30px 0 10px; font-size: 1.25rem; letter-spacing: -.04em; }
.process-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.about { padding-top: 0; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, .73fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}
.about-panel {
  min-height: 495px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(11,59,99,.95), rgba(16,34,51,.94)),
    var(--brand);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.about-panel::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -180px;
  top: -160px;
  border-radius: 999px;
  background: rgba(245,179,49,.22);
}
.about-panel h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.about-panel p { position: relative; margin: 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.toolbelt {
  position: absolute;
  inset: 32px auto auto 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 270px;
}
.toolbelt span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  font-size: 1.55rem;
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}
.check-list li::before {
  content: "✓";
  color: var(--brand);
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245,179,49,.26);
  flex: 0 0 auto;
}

.faq { padding-top: 0; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .9fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.accordion {
  display: grid;
  gap: 10px;
}
.accordion button {
  width: 100%;
  border: 1px solid rgba(16,34,51,.1);
  background: rgba(255,255,255,.64);
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}
.accordion button span { color: var(--brand); font-size: 1.4rem; transition: transform .2s ease; }
.accordion button[aria-expanded="true"] span { transform: rotate(45deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
  overflow: hidden;
  margin-top: -10px;
}
.accordion-panel.open { grid-template-rows: 1fr; }
.accordion-panel p {
  min-height: 0;
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  padding: 0 0 var(--section);
}
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at 0 0, rgba(245,179,49,.33), transparent 28rem),
    linear-gradient(135deg, var(--brand), var(--ink));
  box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: var(--accent-2); }
.contact-card h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.contact-card p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}
.contact-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 12px; flex: 0 0 auto; }

.site-footer {
  padding: 56px 0 28px;
  background: #0d1823;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 34px;
}
.footer-brand .brand-mark svg rect { fill: white; }
.footer-brand .brand-mark svg path { stroke: var(--brand); }
.footer-brand .brand-copy small { color: rgba(255,255,255,.62); }
.site-footer p { max-width: 460px; color: rgba(255,255,255,.58); line-height: 1.7; }
.site-footer strong { display: block; margin-bottom: 14px; }
.site-footer a { display: block; margin: 9px 0; color: rgba(255,255,255,.66); }
.site-footer a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.48);
  font-size: .88rem;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(16,34,51,.1);
  box-shadow: 0 12px 44px rgba(16,34,51,.16);
}
.mobile-sticky-cta a {
  flex: 1;
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 900;
}
.mobile-sticky-cta a:first-child { background: var(--ink); color: white; }
.mobile-sticky-cta a:last-child { background: var(--accent); color: var(--ink); }

.reveal-up, .reveal-scale { will-change: transform, opacity; }



/* ===== Fade entre secções + vídeo no final ===== */
main {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      rgba(247,244,238,0) 0%,
      rgba(247,244,238,.92) 16%,
      rgba(255,250,242,.86) 45%,
      rgba(247,244,238,.94) 76%,
      rgba(247,244,238,1) 100%);
}

main > .section,
main > .trust-strip {
  position: relative;
  isolation: isolate;
}

main > .section::before,
main > .trust-strip::before {
  content: "";
  position: absolute;
  inset: -78px 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(247,244,238,0) 0%,
      rgba(247,244,238,.74) 15%,
      rgba(255,250,242,.58) 50%,
      rgba(247,244,238,.74) 85%,
      rgba(247,244,238,0) 100%);
}

.services::before {
  background:
    radial-gradient(circle at 14% 10%, rgba(245,179,49,.12), transparent 26rem),
    linear-gradient(180deg, rgba(247,244,238,0), rgba(255,250,242,.72) 18%, rgba(255,250,242,.62) 82%, rgba(247,244,238,0));
}

.estimator::before {
  background:
    radial-gradient(circle at 90% 12%, rgba(11,59,99,.09), transparent 26rem),
    linear-gradient(180deg, rgba(247,244,238,0), rgba(247,244,238,.82) 18%, rgba(247,244,238,.78) 82%, rgba(247,244,238,0));
}

.process::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(245,179,49,.10), transparent 28rem),
    linear-gradient(180deg, rgba(247,244,238,0), rgba(255,250,242,.62) 20%, rgba(255,250,242,.62) 80%, rgba(247,244,238,0));
}

.faq::before,
.about::before {
  background:
    linear-gradient(180deg, rgba(247,244,238,0), rgba(247,244,238,.78) 16%, rgba(247,244,238,.78) 84%, rgba(247,244,238,0));
}

.service-card,
.estimator-grid,
.process-card,
.accordion button {
  backdrop-filter: blur(14px);
}

.site-ending {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 820px;
  padding: clamp(118px, 14vw, 180px) 0 0;
  color: white;
  background: #07121d;
}

.site-ending::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(120px, 18vw, 220px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(247,244,238,.78) 34%, rgba(247,244,238,0) 100%);
}

.site-ending::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5,12,20,.86));
}

.ending-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .78;
  filter: saturate(.88) contrast(1.08) brightness(.78);
  transform: scale(1.03);
}

.ending-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(245,179,49,.28), transparent 30rem),
    radial-gradient(circle at 86% 10%, rgba(21,95,139,.32), transparent 34rem),
    linear-gradient(180deg, rgba(7,18,29,.12) 0%, rgba(7,18,29,.58) 46%, rgba(7,18,29,.92) 100%);
}

.final-contact-card {
  position: relative;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 0 0, rgba(245,179,49,.22), transparent 28rem),
    linear-gradient(135deg, rgba(11,59,99,.72), rgba(7,18,29,.70));
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 110px rgba(0,0,0,.34);
}

.ending-tools {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ending-tool {
  position: absolute;
  width: clamp(66px, 8vw, 98px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.ending-tool-1 { left: clamp(18px, 6vw, 96px); top: 28%; transform: rotate(-12deg); }
.ending-tool-2 { right: clamp(18px, 8vw, 120px); top: 18%; transform: rotate(14deg); }
.ending-tool-3 { right: 18%; bottom: 26%; transform: rotate(-8deg); }

.site-ending .site-footer {
  position: relative;
  z-index: 4;
  margin-top: clamp(70px, 10vw, 125px);
  padding-top: 58px;
  background: linear-gradient(180deg, rgba(7,18,29,0), rgba(7,18,29,.72) 30%, rgba(7,18,29,.94) 100%);
}

.site-ending .footer-bottom {
  border-top-color: rgba(255,255,255,.14);
}

@media (max-width: 720px) {
  .site-ending { padding-top: 106px; }
  .ending-video { opacity: .52; }
  .ending-tool { display: none; }
  .final-contact-card { border-radius: 28px; }
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid,
  .estimator-grid,
  .about-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .contact-actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

@media (max-width: 720px) {
  :root { --gutter: 32px; --section: 82px; }
  .phone-pill { display: none; }
  .brand-copy strong { font-size: .92rem; }
  .hero { padding-top: 118px; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.25rem); }
  .hero-metrics,
  .trust-grid,
  .service-grid,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .diagnostic-card { min-height: 420px; }
  .floating-tool { width: 78px; border-radius: 22px; }
  .tool-1 { left: -8px; top: 16px; }
  .tool-2 { right: -8px; top: 70px; }
  .tool-3 { left: 20px; bottom: 30px; }
  .estimator-grid { padding: 22px; border-radius: 26px; }
  .about-panel { min-height: 430px; }
  .contact-actions, .contact-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .mobile-sticky-cta { display: flex; gap: 8px; }
  .site-footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


@media (max-width: 720px) {
  .hero-video { opacity: .68; }
  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(247,244,238,.82) 0%, rgba(247,244,238,.58) 48%, rgba(247,244,238,.80) 100%),
      linear-gradient(90deg, rgba(247,244,238,.82), rgba(247,244,238,.42));
  }
}
