:root {
  --blue: #1563ff;
  --blue-dark: #064fd8;
  --yellow: #f5b82e;
  --yellow-dark: #d19013;
  --ink: #0d1b33;
  --ink-soft: #233556;
  --muted: #5b6f8c;
  --line: #dbe4f2;
  --line-strong: #ccd8ea;
  --white: #ffffff;
  --soft: #f6f9ff;
  --soft-warm: #fdf8f2;
  --shadow-lg: 0 26px 68px rgba(8, 28, 59, 0.14);
  --shadow-md: 0 18px 46px rgba(8, 28, 59, 0.1);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --header-height: 122px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

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

button {
  border: 0;
  padding: 0;
  background: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 2.8vw, 48px);
  height: var(--header-height);
  padding: 0 clamp(22px, 3vw, 48px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.98) 100%);
  border-bottom: 1px solid rgba(204, 216, 234, 0.8);
  box-shadow: 0 16px 38px rgba(8, 28, 59, 0.1);
  overflow: hidden;
  transition: height 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 45%, rgba(21, 99, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 55%, rgba(21, 99, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.88));
  pointer-events: none;
  content: "";
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled {
  height: 96px;
  box-shadow: 0 18px 42px rgba(8, 28, 59, 0.14);
}

.site-header.is-scrolled .nav-links a {
  height: 96px;
}

.site-header.is-scrolled .nav-links a::after {
  bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(190px, 17vw, 270px);
  min-width: 0;
  line-height: 0;
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand {
  width: clamp(176px, 15vw, 238px);
}

.brand-logo {
  width: 100%;
  max-height: 96px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2vw, 38px);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--header-height);
  padding: 0 2px;
  color: #182844;
  font-size: clamp(13px, 0.96vw, 16px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a svg {
  width: 16px;
  height: 16px;
}

.nav-links a path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  width: 42px;
  height: 4px;
  margin: auto;
  background: var(--blue);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  content: "";
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta {
  min-width: clamp(228px, 16vw, 282px);
  min-height: clamp(58px, 4vw, 64px);
  padding: 0 clamp(20px, 1.6vw, 26px);
  color: var(--white);
  background: linear-gradient(180deg, #1773ff 0%, #0c63f4 100%);
  box-shadow: 0 18px 36px rgba(21, 99, 255, 0.28);
}

.header-cta:hover,
.btn-primary:hover,
.service-detail__cta:hover {
  background: linear-gradient(180deg, #0c63f4 0%, #004fcb 100%);
  transform: translateY(-2px);
}

.header-cta svg,
.btn svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.header-cta path,
.header-cta rect,
.btn path,
.btn rect,
.trust-item path,
.hero-stats path,
.hero-stats circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: var(--header-height);
  background: #edf4fb;
}

.hero-bg,
.hero-overlay,
.hero-glow {
  position: absolute;
  inset: var(--header-height) 0 0;
}

.hero-bg {
  width: 100%;
  height: calc(100% - var(--header-height));
  object-fit: cover;
  object-position: 62% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 26%, rgba(255, 255, 255, 0.66) 44%, rgba(255, 255, 255, 0.24) 61%, rgba(255, 255, 255, 0.06) 80%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(255, 255, 255, 0.5) 100%);
}

.hero-glow {
  pointer-events: none;
}

.hero-glow--top {
  background: radial-gradient(circle at 18% 18%, rgba(196, 219, 255, 0.36), rgba(196, 219, 255, 0) 34%);
}

.hero-glow--bottom {
  background: radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(44px, 6.6vh, 82px) clamp(28px, 4vw, 64px) 28px;
}

.hero-copy {
  max-width: 980px;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(64px, 5vw, 96px);
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title__accent,
.hero-title__line {
  display: block;
}

.hero-title__accent {
  color: var(--blue);
}

.hero-title__line {
  color: var(--ink);
}

.hero-lede,
.section-copy p,
.work-copy p,
.estimate-panel__copy p {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 500;
  line-height: 1.58;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.hero-actions--compact {
  margin-top: 28px;
}

.btn {
  min-width: 220px;
  padding: 0 30px;
  border: 1px solid transparent;
}

.hero .btn {
  min-height: 68px;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, #1773ff 0%, #0c63f4 100%);
  box-shadow: 0 18px 38px rgba(21, 99, 255, 0.28);
}

.header-cta,
#contact .hero-actions--compact .btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, #1773ff 0%, #0c63f4 100%);
  box-shadow: 0 18px 36px rgba(21, 99, 255, 0.28);
}

.header-cta:hover,
#contact .hero-actions--compact .btn-primary:hover {
  background: linear-gradient(180deg, #0c63f4 0%, #004fcb 100%);
  box-shadow: 0 20px 40px rgba(21, 99, 255, 0.32);
}

.btn-outline {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(21, 99, 255, 0.54);
  box-shadow: 0 14px 34px rgba(8, 28, 59, 0.06);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  margin-top: clamp(20px, 2.8vh, 32px);
}

.trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 76px;
  padding-right: 18px;
  border-right: 1px solid rgba(164, 177, 195, 0.38);
}

.trust-item + .trust-item {
  padding-left: 18px;
}

.trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-item svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.12;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.hero-stats {
  position: absolute;
  right: clamp(28px, 4.6vw, 72px);
  bottom: clamp(20px, 3vh, 34px);
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  width: min(560px, 39vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.28) 100%);
  box-shadow: 0 24px 58px rgba(8, 28, 59, 0.14);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.hero-stats > div {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 20px 14px;
  text-align: center;
  border-right: 1px solid rgba(219, 228, 242, 0.42);
}

.hero-stats > div:last-child {
  border-right: 0;
}

.hero-stats svg {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: var(--blue);
}

.hero-stats strong {
  color: var(--blue);
  font-size: clamp(30px, 2vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.hero-stats span {
  color: var(--ink-soft);
  font-size: clamp(12px, 0.88vw, 16px);
  font-weight: 500;
}

.stars {
  display: flex !important;
  gap: 4px;
  color: var(--blue);
  font-size: clamp(20px, 1.35vw, 28px);
  line-height: 1;
}

.section,
.service-selector {
  padding: clamp(76px, 8vw, 120px) clamp(20px, 4vw, 56px);
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section--soft {
  background: var(--soft);
}

#contact.section {
  padding-block: clamp(56px, 6vw, 88px);
}

.section-shell {
  width: min(1460px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4.8vw, 54px);
}

.section-heading--tight {
  align-items: center;
}

.section-heading h2,
.section-copy h2,
.work-copy h2,
.estimate-panel__copy h2,
.service-selector__header h2 {
  font-size: clamp(40px, 4.7vw, 72px);
}

.text-link {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
}

.intro-layout,
.work-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
}

.section-copy,
.work-copy,
.estimate-panel__copy {
  display: grid;
  gap: 18px;
}

.section-copy p,
.work-copy p,
.estimate-panel__copy p {
  margin: 0;
}

.intro-panel,
.estimate-panel,
.quote-form,
.work-visual,
.review-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.intro-panel {
  overflow: hidden;
  border: 1px solid var(--line);
}

.intro-panel__media img,
.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-panel__media {
  aspect-ratio: 1.15;
  background: #d4deed;
}

.intro-panel__body {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
}

.intro-panel__body h3,
.quote-form h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.04;
}

.feature-list,
.work-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.work-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
}

.feature-list li::before,
.work-list li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(21, 99, 255, 0.12);
  transform: translateY(-50%);
  content: "";
}

.mini-metrics,
.work-pillars,
.estimate-points {
  display: grid;
  gap: 16px;
}

.mini-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-metrics div,
.work-pillars div,
.estimate-points div {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mini-metrics strong,
.work-pillars strong,
.estimate-points strong {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.mini-metrics span,
.work-pillars span,
.estimate-points span {
  color: var(--muted);
  font-size: 14px;
}

.service-selector {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 14% 12%, rgba(196, 219, 255, 0.38), rgba(196, 219, 255, 0) 26%),
    radial-gradient(circle at 84% 16%, rgba(21, 99, 255, 0.14), rgba(21, 99, 255, 0) 25%),
    radial-gradient(circle at 18% 86%, rgba(21, 99, 255, 0.12), rgba(21, 99, 255, 0) 24%),
    linear-gradient(180deg, #fefefe 0%, #f9fbff 100%);
}

.service-selector__shell {
  position: relative;
  z-index: 1;
}

.service-selector__blueprint {
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 340' fill='none'%3E%3Cg stroke='%231563ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.38'%3E%3Cpath d='M94 230 260 74l166 156'/%3E%3Cpath d='M132 230V154h256v76'/%3E%3Cpath d='M175 230v82'/%3E%3Cpath d='M260 154v158'/%3E%3Cpath d='M344 154v158'/%3E%3Cpath d='M224 312v-56h72v56'/%3E%3Cpath d='M144 230h230'/%3E%3Cpath d='M116 270h292'/%3E%3Cpath d='M84 310h352'/%3E%3Cpath d='M122 126h276'/%3E%3Cpath d='M100 98h320'/%3E%3Cpath d='M180 184h66'/%3E%3Cpath d='M278 184h66'/%3E%3Cpath d='M180 212h66'/%3E%3Cpath d='M278 212h66'/%3E%3Cpath d='M430 40v272'/%3E%3Cpath d='M460 20v292'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.service-selector__blueprint--top {
  top: 16px;
  right: -28px;
  width: min(33vw, 520px);
  aspect-ratio: 520 / 340;
  opacity: 0.36;
}

.service-selector__blueprint--bottom {
  bottom: 24px;
  left: -72px;
  width: min(31vw, 500px);
  aspect-ratio: 520 / 340;
  opacity: 0.24;
  transform: scaleX(-1);
}

.service-selector__header {
  max-width: 1140px;
  margin: 0 auto clamp(28px, 4.2vh, 42px);
  text-align: center;
}

.service-selector__eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 900;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.service-selector__header h2 {
  max-width: 1060px;
  margin: 0 auto;
  font-size: clamp(52px, 5.15vw, 80px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-selector__header h2 span {
  color: var(--blue);
}

.service-selector__lede {
  max-width: 720px;
  margin: 22px auto 0;
  color: #435573;
  font-size: clamp(18px, 1.34vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

.service-selector__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(420px, 0.86fr);
  gap: clamp(20px, 1.6vw, 24px);
  align-items: start;
}

.service-selector__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-option {
  position: relative;
  display: grid;
  gap: 14px;
  width: 100%;
  min-height: 286px;
  padding: 14px 14px 16px;
  border: 1px solid #dfe7f6;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 253, 255, 0.97));
  box-shadow: 0 14px 34px rgba(8, 27, 59, 0.07);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.service-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(8, 27, 59, 0.1);
}

.service-option:focus-visible {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 99, 255, 0.12), 0 20px 42px rgba(8, 27, 59, 0.1);
}

.service-option.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(21, 99, 255, 0.3), 0 22px 48px rgba(8, 28, 59, 0.12);
}

.service-option__check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-option.is-selected .service-option__check {
  opacity: 1;
  transform: scale(1);
}

.service-option__check circle {
  fill: var(--blue);
}

.service-option__check path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-option__image {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #d5dfef;
  aspect-ratio: 1.92;
}

.service-option__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-option__body {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.service-option__icon,
.service-detail__icon {
  display: grid;
  place-items: center;
  color: var(--blue);
}

.service-option__icon img,
.service-detail__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-option__icon {
  width: 40px;
  height: 40px;
  align-self: start;
  margin-top: 4px;
}

.service-option__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-top: 0;
}

.service-option__title {
  color: #12223b;
  font-size: clamp(16px, 1vw, 21px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-option__summary {
  color: #4c5f7a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
}

.service-icon {
  display: block;
  transform: none;
}

.service-option__icon svg,
.service-detail__icon svg,
.service-detail__cta svg,
.service-detail__facts svg {
  width: 100%;
  height: 100%;
}

.service-option__icon path,
.service-detail__icon path,
.service-detail__cta path,
.service-detail__cta rect,
.service-detail__facts path,
.service-detail__facts circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.service-detail {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 22px 24px 18px;
  border: 1px solid #dfe7f6;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(8, 27, 59, 0.1);
  transform-origin: 18% 22%;
}

.service-detail.is-animating {
  animation: serviceDetailPop 300ms ease;
}

.service-detail__tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.service-detail__image-wrap {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: #d3dcec;
}

.service-detail__image-wrap img {
  width: 100%;
  aspect-ratio: 2.34;
  object-fit: cover;
}

.service-detail__heading {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dde6f4;
}

.service-detail__icon {
  width: 50px;
  height: 50px;
  margin-top: 2px;
}

.service-detail__icon .service-icon {
  transform-origin: center;
}

.service-detail h3 {
  margin: 0;
  font-family: "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 1.7vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.service-detail p {
  margin: 20px 0 0;
  color: #425673;
  font-size: clamp(16px, 1.08vw, 20px);
  font-weight: 500;
  line-height: 1.66;
}

.service-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  margin-top: 22px;
  padding: 0 24px;
  color: #ffffff;
  font-size: clamp(16px, 1.02vw, 20px);
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(180deg, #1773ff 0%, #0c63f4 100%);
  box-shadow: 0 16px 32px rgba(21, 99, 255, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-detail__cta svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.service-detail__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #dde6f4;
}

.service-detail__facts span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
  margin-right: 18px;
  color: #425673;
  font-size: 14px;
  font-weight: 500;
}

.service-detail__facts span::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 22px;
  background: #d5deed;
  transform: translateY(-50%);
  content: "";
}

.service-detail__facts span:last-child {
  padding-right: 0;
  margin-right: 0;
}

.service-detail__facts span:last-child::after {
  display: none;
}

.service-detail__facts svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.about-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(21, 99, 255, 0.1), rgba(21, 99, 255, 0) 22%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.about-showcase__shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(44px, 6vw, 94px);
  align-items: center;
}

.about-showcase__copy {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.about-kicker span {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.about-showcase h2 {
  margin: 0;
  color: #10203b;
  font-size: clamp(44px, 4.1vw, 70px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.about-showcase__copy > p:not(.about-kicker) {
  max-width: 560px;
  margin: 0;
  color: #334863;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 600;
  line-height: 1.55;
}

.about-values {
  display: grid;
  max-width: 560px;
  margin-top: 2px;
}

.about-values article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #dbe5f2;
}

.about-value__icon,
.about-stats article > span,
.about-location > span {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eef4ff;
}

.about-value__icon {
  width: 46px;
  height: 46px;
  border: 1px solid #d8e5fb;
  border-radius: 12px;
}

.about-values strong {
  display: block;
  color: #142540;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.about-values span:not(.about-value__icon) {
  display: block;
  margin-top: 5px;
  color: #526782;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 6px;
}

.about-stats article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 150px;
  padding: 20px 18px 18px;
  border: 1px solid #dfe7f4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(8, 28, 59, 0.08);
}

.about-stats article > span {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: transparent;
}

.about-stats strong {
  color: #10203b;
  font-size: clamp(28px, 2.2vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.about-stats small {
  color: #526782;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.about-showcase__visual {
  min-width: 0;
}

.about-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #d8e2ef;
  box-shadow: 0 24px 58px rgba(8, 28, 59, 0.13);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
}

.about-location {
  position: absolute;
  right: clamp(18px, 2vw, 34px);
  bottom: clamp(18px, 2vw, 34px);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  width: min(330px, calc(100% - 36px));
  padding: 24px 24px 22px;
  border: 1px solid rgba(219, 228, 242, 0.85);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 42px rgba(8, 28, 59, 0.14);
}

.about-location > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--blue);
  background: #eef4ff;
  border: 1px solid #d8e5fb;
}

.about-location small {
  display: block;
  color: #6b7e99;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.about-location strong {
  display: block;
  margin-top: 6px;
  color: #10203b;
  font-size: clamp(19px, 1.4vw, 25px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
}

.about-location p {
  margin: 10px 0 0;
  color: #687b95;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.about-proof-kicker {
  margin: 24px 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dde6f3;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(8, 28, 59, 0.08);
}

.about-proof article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 92px;
  padding: 18px 12px;
  color: #526782;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  border-right: 1px solid #dde6f3;
}

.about-proof article:last-child {
  border-right: 0;
}

.about-value__icon img,
.about-stats article > span img,
.about-location > span img,
.about-proof img {
  display: block;
  object-fit: contain;
}

.about-value__icon img {
  width: 30px;
  height: 30px;
}

.about-stats article > span img {
  width: 44px;
  height: 44px;
}

.about-location > span img {
  width: 32px;
  height: 32px;
}

.about-proof img {
  width: 36px;
  height: 36px;
  filter: grayscale(1) saturate(0);
  opacity: 0.62;
}

.about-value__icon svg,
.about-stats article > span svg,
.about-location > span svg,
.about-proof svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-value__icon svg {
  width: 30px;
  height: 30px;
}

.about-stats article > span svg {
  width: 44px;
  height: 44px;
}

.about-location > span svg {
  width: 32px;
  height: 32px;
}

.about-proof svg {
  width: 36px;
  height: 36px;
  opacity: 0.72;
}

.work-showcase {
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(42px, 5vh, 66px);
  padding-inline: clamp(20px, 4vw, 56px);
  background:
    radial-gradient(circle at 80% 4%, rgba(21, 99, 255, 0.1), rgba(21, 99, 255, 0) 24%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.work-showcase__shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(30px, 4.2vw, 64px);
  align-items: center;
}

.work-showcase__intro {
  display: grid;
  align-content: center;
  gap: 18px;
  max-width: 610px;
  min-width: 0;
}

.work-showcase__intro h2 {
  margin: 0;
  color: #10203b;
  font-size: clamp(44px, 4.05vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.work-showcase__intro p:not(.section-kicker) {
  max-width: 560px;
  margin: 0;
  color: #324564;
  font-size: clamp(17px, 1.18vw, 21px);
  font-weight: 600;
  line-height: 1.55;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.work-filter {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid #d7e1f0;
  border-radius: 999px;
  color: #1d2e4c;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(8, 28, 59, 0.04);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.work-filter:hover,
.work-filter:focus-visible {
  border-color: rgba(21, 99, 255, 0.55);
  outline: 0;
  transform: translateY(-1px);
}

.work-filter.is-active {
  color: #ffffff;
  border-color: var(--blue);
  background: linear-gradient(180deg, #1773ff 0%, #0c63f4 100%);
  box-shadow: 0 18px 32px rgba(21, 99, 255, 0.24);
}

.work-feature {
  position: relative;
  display: grid;
  grid-template-rows: clamp(420px, 31vw, 500px) auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #d8e2ef;
  box-shadow: 0 24px 58px rgba(8, 28, 59, 0.14);
}

.work-feature__media,
.work-feature__media img {
  width: 100%;
  height: 100%;
}

.work-feature__media {
  position: relative;
}

.work-feature__media img {
  object-fit: cover;
  transition: opacity 200ms ease, transform 520ms ease;
}

.work-feature.is-updating .work-feature__media img {
  opacity: 0.7;
  transform: scale(1.015);
}

.work-photo-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(10, 24, 46, 0.44);
  box-shadow: 0 14px 32px rgba(8, 28, 59, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.work-photo-nav:hover,
.work-photo-nav:focus-visible {
  outline: 0;
  background: rgba(21, 99, 255, 0.9);
  transform: translateY(-50%) scale(1.04);
}

.work-photo-nav svg {
  width: 23px;
  height: 23px;
}

.work-photo-nav--prev {
  left: 20px;
}

.work-photo-nav--next {
  right: 20px;
}

.work-photo-count {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(10, 24, 46, 0.46);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.work-feature__card {
  position: relative;
  display: grid;
  width: 100%;
  gap: 6px;
  padding: 14px clamp(16px, 1.45vw, 22px) 13px;
  border-top: 1px solid #dbe5f2;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
}

.work-feature__card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.work-feature__card h3 {
  margin: 0;
  color: #13223c;
  font-family: "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 1.25vw, 26px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.work-feature__note {
  max-width: 58ch;
  margin: 0;
  color: #263954;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.work-meta,
.work-project__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: #7889a5;
  font-size: 14px;
  font-weight: 600;
}

.work-meta > span,
.work-project__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.work-meta > span + span::before,
.work-project__meta > span + span::before {
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-right: 4px;
  background: #aebbd0;
  content: "";
}

.work-meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.work-meta path,
.work-meta circle,
.work-meta rect,
.work-photo-nav path,
.work-nav path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.work-photo-dots {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
}

.work-photo-dots button {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: #c6d2e3;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.work-photo-dots button.is-active {
  width: 44px;
  background: var(--blue);
}

.work-carousel {
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
  padding: 0 70px;
  margin-top: clamp(16px, 2.4vw, 30px);
}

.work-carousel--single {
  padding: 0;
}

.work-carousel--single .work-track {
  grid-auto-columns: clamp(320px, 30vw, 430px);
}

.work-track {
  display: grid;
  min-width: 0;
  grid-auto-columns: clamp(230px, 17vw, 286px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 10px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.work-track::-webkit-scrollbar {
  display: none;
}

.work-project {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(8, 28, 59, 0.06);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-project:hover,
.work-project:focus-visible {
  border-color: rgba(21, 99, 255, 0.5);
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(8, 28, 59, 0.1);
}

.work-project.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(21, 99, 255, 0.28), 0 18px 38px rgba(8, 28, 59, 0.1);
}

.work-project img {
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  background: #d9e3f0;
}

.work-project__body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.work-project__body strong {
  color: #13223c;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 900;
  line-height: 1.16;
}

.work-project__meta {
  gap: 8px 12px;
  font-size: 13px;
}

.work-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #dbe5f2;
  border-radius: 50%;
  color: #142540;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(8, 28, 59, 0.1);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.work-nav:hover,
.work-nav:focus-visible {
  color: var(--blue);
  border-color: rgba(21, 99, 255, 0.42);
  outline: 0;
  transform: translateY(-50%) scale(1.04);
}

.work-nav svg {
  width: 25px;
  height: 25px;
}

.work-nav--prev {
  left: 0;
}

.work-nav--next {
  right: 0;
}

.work-slider-ui {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 10px;
}

.work-dots {
  display: flex;
  align-items: center;
  gap: 16px;
}

.work-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfcbdd;
  opacity: 0.9;
}

.work-dots button.is-active {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 99, 255, 0.12);
}

.work-progress {
  width: min(620px, 55vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5f1;
}

.work-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9fc4ff 0%, #1563ff 100%);
  transition: width 180ms ease;
}

.work-slider-ui p {
  position: relative;
  margin: -4px 0 0;
  color: #8a9ab1;
  font-size: 14px;
  font-weight: 600;
}

.work-slider-ui p::before {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: -4px;
  background: currentColor;
  clip-path: path("M9.6 1.4c1.8 0 3.3 1.5 3.3 3.3v2.1h1c1.8 0 3.2 1.4 3.2 3.2v1.9c0 3.5-2.7 6.3-6.2 6.3H9.4c-1.8 0-3.4-.8-4.5-2.2L1.8 12c-.5-.7-.4-1.6.3-2.1.6-.5 1.6-.4 2.1.2l1.4 1.8V4.7c0-1.8 1.5-3.3 3.3-3.3h.7Zm-.7 2A1.3 1.3 0 0 0 7.6 4.7v9.4l-2.9-3.3-.5.4 2.3 3.5a3.5 3.5 0 0 0 2.9 1.5h1.5c2.4 0 4.2-1.9 4.2-4.3V10c0-.7-.5-1.2-1.2-1.2h-3V4.7c0-.7-.6-1.3-1.3-1.3h-.7Z");
  content: "";
}

.rating-chip {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: right;
}

.rating-chip span {
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.rating-chip small {
  color: var(--muted);
  font-size: 13px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.review-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 330px;
  margin: 0;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
}

.review-card__stars {
  color: var(--blue);
  font-size: 18px;
  letter-spacing: 0.18em;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 900;
  line-height: 1.12;
}

.review-card figcaption {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.estimate-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
}

.estimate-panel__image {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(15, 37, 76, 0.18), rgba(15, 37, 76, 0.08)),
    url("assets/ng-roofing-hero.png") center / cover;
}

.estimate-panel__copy {
  padding: clamp(28px, 3.4vw, 40px);
}

#contact .estimate-panel__copy {
  gap: 16px;
  padding: clamp(24px, 2.6vw, 34px);
}

#contact .estimate-panel__copy h2 {
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 0.98;
}

#contact .estimate-panel__copy p {
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.46;
}

#contact .hero-actions--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

#contact .hero-actions--compact .btn {
  min-width: 0;
  padding: 0 22px;
}

.estimate-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

#contact .estimate-points {
  gap: 12px;
  margin-top: 0;
}

#contact .estimate-points div {
  padding: 14px 16px;
}

#contact .estimate-points strong {
  font-size: 18px;
}

#contact .estimate-points span {
  font-size: 13px;
  line-height: 1.45;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
}

#contact .quote-form {
  gap: 14px;
  padding: clamp(22px, 2.5vw, 30px);
}

.quote-form p,
.quote-form h3 {
  margin: 0;
}

#contact .quote-form h3 {
  font-size: clamp(24px, 1.9vw, 34px);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--ink);
  background: #f9fbfe;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#contact .quote-form input,
#contact .quote-form select,
#contact .quote-form textarea {
  padding: 12px 14px;
}

.quote-form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact .quote-form textarea {
  min-height: 104px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 99, 255, 0.12);
  background: #ffffff;
}

.quote-form .btn {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: #061124;
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  font-size: 18px;
}

.site-footer span,
.site-footer a {
  color: #adb9cc;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-main {
  padding-top: var(--header-height);
  background: #ffffff;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 94px) clamp(20px, 4vw, 56px) clamp(42px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 54%, rgba(255, 255, 255, 0.22)),
    url("assets/ng-roofing-hero.png") 68% center / cover;
}

.blog-hero__content {
  width: min(980px, 100%);
}

.blog-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.blog-hero p:not(.section-kicker) {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 600;
  line-height: 1.55;
}

.blog-index {
  padding: clamp(54px, 6vw, 86px) clamp(20px, 4vw, 56px);
}

.blog-index__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.blog-index__header h2 {
  max-width: 760px;
  font-size: clamp(38px, 4vw, 66px);
  letter-spacing: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
}

.blog-card {
  display: flex;
  align-items: center;
  min-height: 146px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 12px 28px rgba(8, 28, 59, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  border-color: rgba(21, 99, 255, 0.44);
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(8, 28, 59, 0.1);
}

.blog-card span {
  display: none;
}

.blog-card strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.blog-card small {
  display: none;
}

.blog-faq {
  padding: clamp(54px, 6vw, 86px) clamp(20px, 4vw, 56px);
  background: #f7faff;
}

.blog-faq__header {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.blog-faq__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 66px);
  letter-spacing: 0;
  line-height: 1;
}

.blog-faq__header p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 600;
  line-height: 1.58;
}

.blog-faq__list {
  display: grid;
  gap: 12px;
}

.blog-faq__item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 28, 59, 0.05);
}

.blog-faq__item summary {
  position: relative;
  display: block;
  padding: 22px 58px 22px 22px;
  color: var(--ink);
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 900;
  line-height: 1.22;
  cursor: pointer;
  list-style: none;
}

.blog-faq__item summary::-webkit-details-marker {
  display: none;
}

.blog-faq__item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  content: "+";
}

.blog-faq__item[open] summary::after {
  content: "-";
}

.blog-faq__item p {
  margin: 0;
  padding: 0 22px 22px;
  color: #2d405e;
  font-size: 17px;
  line-height: 1.68;
}

.blog-articles {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  padding: clamp(34px, 4vw, 58px) clamp(20px, 4vw, 56px) clamp(58px, 7vw, 96px);
}

.blog-article {
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(8, 28, 59, 0.08);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.blog-article__meta span {
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf1ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-article h2 {
  max-width: 900px;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.blog-article h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-family: "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.blog-article h3 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: 0;
}

.blog-article p,
.blog-article li {
  color: #2d405e;
  font-size: 18px;
  line-height: 1.76;
}

.blog-article p {
  margin: 18px 0 0;
}

.blog-article ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 24px;
}

.blog-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 8px;
  color: var(--white);
  background: #061124;
}

.blog-cta-band h2 {
  color: var(--white);
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: 0;
}

.blog-cta-band p {
  max-width: 670px;
  margin: 10px 0 0;
  color: #c3ccda;
  font-size: 17px;
}

.blog-post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-post-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #f8fbff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 620ms ease forwards;
}

.hero-stats.reveal {
  animation-delay: 180ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes serviceDetailPop {
  from {
    opacity: 0.78;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1280px) {
  :root {
    --header-height: 114px;
  }

  .nav-links {
    gap: 20px;
  }

  .hero-content {
    padding-top: 62px;
  }

  .hero-stats {
    position: static;
    width: min(760px, 100%);
    margin-top: 30px;
  }

  .service-selector {
    min-height: auto;
  }

  .service-selector__layout {
    grid-template-columns: 1fr;
  }

  .service-selector__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .work-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-showcase__shell {
    grid-template-columns: minmax(320px, 0.84fr) minmax(480px, 1.16fr);
    gap: clamp(30px, 4vw, 54px);
  }

  .about-showcase h2 {
    font-size: clamp(42px, 4vw, 62px);
  }

  .about-stats article {
    min-height: 138px;
    padding: 18px 15px 16px;
  }

  .work-showcase__shell {
    grid-template-columns: minmax(320px, 0.78fr) minmax(480px, 1.22fr);
    gap: clamp(24px, 3vw, 42px);
  }

  .work-showcase__intro {
    max-width: 560px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 14px 24px;
    height: 116px;
    padding: 0 24px;
  }

  .brand {
    width: clamp(188px, 28vw, 252px);
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 4;
    justify-content: center;
    height: 44px;
    gap: 18px;
  }

  .nav-links a {
    height: 44px;
    font-size: 13px;
  }

  .nav-links a::after {
    bottom: 2px;
  }

  .header-cta {
    justify-self: end;
    min-width: 220px;
    min-height: 54px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-bg,
  .hero-overlay,
  .hero-glow {
    inset: 116px 0 0;
  }

  .hero-bg {
    height: calc(100% - 116px);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 68px;
  }

  .site-header {
    grid-template-columns: auto auto;
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    width: min(176px, calc(100vw - 92px));
  }

  .site-header.is-scrolled .brand {
    width: min(176px, calc(100vw - 92px));
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
    box-shadow: 0 10px 20px rgba(8, 28, 59, 0.08);
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 12px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 38px rgba(8, 28, 59, 0.14);
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    height: 44px;
    padding: 0 12px;
    background: #f7faff;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-bg,
  .hero-overlay,
  .hero-glow {
    inset: 68px 0 0;
  }

  .hero-bg {
    height: calc(100% - 68px);
    object-position: 69% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.48) 68%, rgba(255, 255, 255, 0.24) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.16));
  }

  .hero-content {
    min-height: calc(100svh - 68px);
    padding: 34px 18px 18px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 64px);
    line-height: 0.92;
  }

  .hero-lede,
  .section-copy p,
  .work-copy p,
  .estimate-panel__copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-top: 24px;
  }

  #contact .hero-actions--compact {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-top: 24px;
  }

  .btn,
  .service-detail__cta {
    width: 100%;
  }

  .hero .btn {
    min-height: 62px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin-top: 26px;
  }

  .trust-item {
    grid-template-columns: 44px 1fr;
    min-height: auto;
    padding: 0;
    border-right: 0;
  }

  .trust-item + .trust-item {
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(164, 177, 195, 0.32);
  }

  .trust-item svg {
    width: 42px;
    height: 42px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 26px;
  }

  .hero-stats > div {
    min-height: 100px;
    padding: 14px 8px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .hero-stats span {
    font-size: 10px;
  }

  .section,
  .service-selector {
    padding: 52px 16px 58px;
  }

  .about-showcase__shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-showcase__copy {
    max-width: 720px;
  }

  .about-showcase h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .about-showcase__copy > p:not(.about-kicker) {
    font-size: 16px;
  }

  .about-values {
    max-width: 100%;
  }

  .about-stats {
    max-width: 100%;
  }

  .about-location {
    right: 16px;
    bottom: 16px;
  }

  .about-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-proof article:nth-child(2) {
    border-right: 0;
  }

  .about-proof article:nth-child(-n + 2) {
    border-bottom: 1px solid #dde6f3;
  }

  .section-heading {
    display: grid;
    gap: 16px;
  }

  .section-heading h2,
  .section-copy h2,
  .work-copy h2,
  .estimate-panel__copy h2,
  .service-selector__header h2 {
    font-size: clamp(38px, 10vw, 56px);
  }

  .service-selector__header h2 {
    line-height: 0.96;
  }

  .service-selector__blueprint {
    display: none;
  }

  .service-selector__header {
    margin-bottom: 28px;
  }

  .service-selector__eyebrow {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .service-selector__lede {
    margin-top: 18px;
    font-size: 16px;
  }

  .service-selector__grid {
    grid-template-columns: 1fr;
  }

  .review-card blockquote {
    font-size: 18px;
  }

  .service-option {
    gap: 14px;
    padding: 12px 12px 16px;
    border-radius: 20px;
  }

  .service-option__check {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .service-option__body {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .service-option__icon {
    width: 36px;
    height: 36px;
    margin-top: 3px;
  }

  .service-option__title {
    font-size: 18px;
    line-height: 1.08;
  }

  .service-option__summary {
    font-size: 14px;
  }

  .service-detail {
    padding: 20px;
    border-radius: 22px;
  }

  .service-detail__tag {
    font-size: 13px;
  }

  .service-detail__heading {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    margin-top: 20px;
    padding-bottom: 16px;
  }

  .service-detail__icon {
    width: 52px;
    height: 52px;
  }

  .service-detail h3 {
    font-size: 26px;
    line-height: 1.04;
  }

  .service-detail p {
    margin-top: 18px;
    font-size: 15px;
  }

  .service-detail__cta {
    min-height: 60px;
    margin-top: 22px;
    font-size: 16px;
  }

  .service-detail__facts {
    display: grid;
    gap: 12px;
  }

  .service-detail__facts span {
    padding-right: 0;
    margin-right: 0;
    font-size: 14px;
  }

  .service-detail__facts span::after {
    display: none;
  }

  .work-showcase {
    min-height: auto;
    padding-block: 52px 58px;
  }

  .work-showcase__shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-showcase__intro {
    gap: 18px;
    max-width: 680px;
  }

  .work-showcase__intro h2 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 0.96;
  }

  .work-showcase__intro p:not(.section-kicker) {
    font-size: 16px;
  }

  .work-filters {
    gap: 10px;
    margin-top: 8px;
  }

  .work-filter {
    min-height: 46px;
    padding: 0 17px;
    font-size: 13px;
  }

  .work-feature {
    grid-template-rows: clamp(340px, 56vw, 440px) auto;
    min-height: 0;
    border-radius: 16px;
  }

  .work-feature__card {
    width: 100%;
    padding: 13px 16px;
  }

  .work-feature__card h3 {
    font-size: 21px;
  }

  .work-feature__note {
    font-size: 13px;
  }

  .work-photo-nav {
    width: 42px;
    height: 42px;
  }

  .work-photo-nav--prev {
    left: 12px;
  }

  .work-photo-nav--next {
    right: 12px;
  }

  .work-photo-count {
    top: 12px;
    right: 12px;
  }

  .work-photo-dots button {
    width: 24px;
  }

  .work-photo-dots button.is-active {
    width: 36px;
  }

  .work-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 10px;
    align-items: center;
    padding: 0;
  }

  .work-carousel--single {
    display: block;
  }

  .work-track {
    grid-column: 2;
    grid-auto-columns: minmax(232px, 82vw);
  }

  .work-carousel--single .work-track {
    grid-auto-columns: minmax(280px, 92vw);
  }

  .work-nav,
  .work-nav:hover,
  .work-nav:focus-visible {
    position: static;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .work-nav--prev {
    grid-column: 1;
    grid-row: 1;
  }

  .work-nav--next {
    grid-column: 3;
    grid-row: 1;
  }

  .work-progress {
    width: min(420px, 78vw);
  }

  .mini-metrics,
  .work-pillars,
  .review-grid,
  .estimate-points {
    grid-template-columns: 1fr;
  }

  .estimate-panel {
    grid-template-columns: 1fr;
  }

  .estimate-panel__image {
    min-height: 260px;
  }

  .work-visual {
    min-height: 360px;
  }

  .work-visual img {
    min-height: 360px;
  }

  .rating-chip {
    text-align: left;
  }

  .site-footer {
    display: grid;
  }

  .blog-index__header,
  .blog-cta-band {
    display: grid;
  }

  .blog-article {
    padding: 24px 20px;
  }

  .blog-faq__item summary {
    padding: 18px 48px 18px 18px;
    font-size: 18px;
  }

  .blog-faq__item summary::after {
    right: 18px;
  }

  .blog-faq__item p {
    padding: 0 18px 18px;
    font-size: 16px;
    line-height: 1.62;
  }

  .blog-article p,
  .blog-article li {
    font-size: 16px;
    line-height: 1.68;
  }
}

@media (max-width: 520px) {
  .nav-links.is-open {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats > div {
    min-height: 84px;
  }

  .hero-stats svg {
    width: 20px;
    height: 20px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-stats span {
    font-size: 9px;
  }

  .review-card blockquote {
    font-size: 24px;
  }

  .about-values article {
    grid-template-columns: 44px 1fr;
    gap: 13px;
    padding: 14px 0;
  }

  .about-value__icon {
    width: 40px;
    height: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats article {
    min-height: auto;
    grid-template-columns: 58px 1fr;
    align-items: center;
  }

  .about-stats article > span {
    grid-row: 1 / span 2;
  }

  .about-stats small {
    grid-column: 2;
  }

  .about-stats small br {
    display: none;
  }

  .about-photo {
    display: grid;
    gap: 0;
    overflow: visible;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
  }

  .about-photo img {
    border-radius: 16px 16px 0 0;
  }

  .about-location {
    position: static;
    width: 100%;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 34px rgba(8, 28, 59, 0.1);
  }

  .about-proof {
    grid-template-columns: 1fr;
  }

  .about-proof article,
  .about-proof article:nth-child(2),
  .about-proof article:nth-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #dde6f3;
  }

  .about-proof article:last-child {
    border-bottom: 0;
  }

  .work-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-filter {
    padding: 0 12px;
  }

  .work-feature {
    grid-template-rows: 330px auto;
    min-height: 0;
  }

  .work-feature__card {
    gap: 8px;
    padding: 13px 14px;
  }

  .work-meta {
    gap: 8px 10px;
    font-size: 12px;
  }

  .work-project__body {
    padding: 14px 15px 16px;
  }
}

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

/* NG restoration overrides */
.work-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 18px;
}

.work-visual__badge {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  display: grid;
  gap: 6px;
  width: min(300px, calc(100% - 36px));
  margin: 0;
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(8, 28, 59, 0.16);
}

.work-visual__badge span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.work-visual__badge strong {
  color: var(--ink);
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.quote-form[action="#"] button[type="submit"] {
  cursor: pointer;
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 43px;
    line-height: 1.04;
    letter-spacing: 0;
  }

  .hero-content {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 40px;
  }
}
