:root {
  --navy: #102743;
  --navy-deep: #071523;
  --slate: #536171;
  --slate-soft: #e7edf2;
  --white: #ffffff;
  --mist: #f6f8fb;
  --lime: #b5f02f;
  --lime-dark: #85bd13;
  --line: rgba(16, 39, 67, .12);
  --shadow: 0 18px 48px rgba(7, 21, 35, .14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-deep);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-gallery-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--lime);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--slate);
  font-size: .72rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 430px;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  min-width: min(100%, 280px);
  color: var(--slate);
  font-size: .86rem;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem .85rem;
}

.nav .menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
}

.nav a,
.nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .52rem .62rem;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.nav a:hover,
.nav button:hover {
  color: var(--navy);
}

.nav .nav-cta {
  color: var(--navy-deep);
  background: var(--lime);
}

.hero,
.quote-process,
.services,
.pricing,
.previous-work,
.trust,
.final-cta,
.site-footer {
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.hero {
  display: grid;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(2rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--lime-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, 12vw, 5.5rem);
}

h2 {
  margin-bottom: .85rem;
  font-size: clamp(2rem, 8vw, 3.8rem);
}

h3 {
  margin-bottom: .65rem;
  font-size: 1.24rem;
}

.hero-subhead {
  max-width: 650px;
  margin-bottom: 1.4rem;
  color: var(--slate);
  font-size: clamp(1.03rem, 3.8vw, 1.3rem);
}

.hero-actions {
  display: grid;
  gap: .75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 54px;
  padding: .9rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(.99);
}

.button-primary {
  color: var(--navy-deep);
  background: var(--lime);
  box-shadow: 0 12px 28px rgba(133, 189, 19, .32);
}

.button-primary:hover {
  background: #c5ff42;
  box-shadow: 0 16px 36px rgba(133, 189, 19, .4);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: rgba(16, 39, 67, .24);
  box-shadow: 0 10px 24px rgba(7, 21, 35, .08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.hero-proof li {
  padding: .45rem .72rem;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
}

.comparison-card {
  position: relative;
}

.comparison-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--slate-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  --position: 50%;
}

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

.comparison-before {
  filter: saturate(.92) contrast(1.05);
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  z-index: 1;
}

.comparison-after {
  z-index: 0;
}

.comparison-label {
  position: absolute;
  top: .8rem;
  z-index: 2;
  padding: .38rem .55rem;
  color: var(--white);
  background: rgba(7, 21, 35, .72);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  pointer-events: none;
}

.comparison-label-before {
  left: .8rem;
}

.comparison-label-after {
  right: .8rem;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 3;
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(7, 21, 35, .18);
  pointer-events: none;
}

.comparison-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(7, 21, 35, .18);
}

.quote-process,
.services,
.pricing,
.previous-work,
.trust {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.quote-process,
.previous-work,
.trust {
  background: var(--mist);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 1.65rem;
}

.section-heading h2 {
  max-width: 860px;
}

.steps,
.service-grid,
.badge-grid {
  display: grid;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
}

.step-card,
.trust-badge,
.testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-card {
  padding: 1.2rem;
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--navy);
  background: var(--lime);
  border-radius: var(--radius);
}

.icon-wrap svg,
.carousel-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  color: var(--slate);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.step-card p,
.service-intro p,
.pricing-note,
.price-card span,
.trust-badge span,
.testimonial p,
.site-footer p {
  color: var(--slate);
}

.pricing {
  background: var(--white);
}

.pricing-inner {
  display: grid;
  gap: 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.pricing-inner h2 {
  max-width: 780px;
}

.pricing-note {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.03rem;
}

.pricing-grid {
  display: grid;
  gap: .85rem;
}

.price-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.price-card span,
.price-card strong {
  display: block;
}

.price-card span {
  margin-bottom: .25rem;
  font-weight: 800;
}

.price-card strong {
  color: var(--navy);
  font-size: clamp(1.7rem, 6vw, 2.35rem);
  line-height: 1;
}

.service-intro {
  max-width: 960px;
  margin-top: 1.4rem;
}

.service-intro p {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(1.03rem, 3vw, 1.22rem);
}

.service-gallery {
  display: grid;
  gap: .85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate-soft);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  padding: .38rem .55rem;
  color: var(--white);
  background: rgba(7, 21, 35, .76);
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 900;
}

.work-grid {
  display: grid;
  gap: .85rem;
  max-width: var(--max);
  margin: 0 auto;
}

.work-tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate-soft);
  aspect-ratio: 4 / 3;
}

.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile figcaption {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  padding: .38rem .55rem;
  color: var(--white);
  background: rgba(7, 21, 35, .76);
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 900;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 35, .72);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.4rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(7, 21, 35, .36);
}

.gallery-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-dialog-header h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 6vw, 3rem);
}

.gallery-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.work-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: .7rem;
  max-width: var(--max);
  margin: 0 auto;
}

.work-carousel-viewport {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 21, 35, .1);
}

.work-carousel-track {
  display: flex;
  transform: translateX(calc(var(--active-slide, 0) * -100%));
  transition: transform .28s ease;
}

.work-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--slate-soft);
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-slide figcaption {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  padding: .45rem .6rem;
  color: var(--white);
  background: rgba(7, 21, 35, .76);
  border-radius: var(--radius);
  font-weight: 900;
}

.work-carousel-status {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--slate);
  font-size: .86rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--navy);
  font-weight: 900;
  border-bottom: 2px solid var(--lime);
  transition: color .18s ease, border-color .18s ease;
}

.text-link:hover {
  color: var(--lime-dark);
  border-color: var(--lime-dark);
}

.badge-grid {
  margin-bottom: 1rem;
}

.trust-badge {
  padding: 1.1rem;
}

.trust-badge strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--navy);
  font-size: 1.45rem;
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: .6rem;
  max-width: 860px;
  margin: 1.4rem auto 0;
}

.testimonial-track {
  min-width: 0;
}

.testimonial {
  display: none;
  padding: 1.3rem;
}

.testimonial.is-active {
  display: block;
}

.stars {
  color: #f7b500;
  font-size: 1.1rem;
}

.testimonial p {
  margin: .7rem 0;
  font-size: 1.03rem;
}

.testimonial cite {
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.carousel-button:hover {
  background: var(--lime);
  transform: translateY(-1px);
}

.final-cta {
  display: grid;
  gap: 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 6.5rem;
  color: rgba(255, 255, 255, .9);
  background: var(--navy-deep);
}

.site-footer > * {
  max-width: var(--max);
}

.site-footer p,
.footer-links {
  color: rgba(255, 255, 255, .68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
  font-size: .9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.sticky-quote {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 54px;
  padding: .85rem 1rem;
  color: var(--navy-deep);
  background: var(--lime);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(7, 21, 35, .22);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
  transition: opacity .2s ease, transform .2s ease, background-color .18s ease;
}

.sticky-quote:hover {
  background: #c5ff42;
}

.sticky-quote.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: .75rem;
  }

  .nav {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
    justify-content: flex-end;
  }

  .nav .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--lime-dark);
    background: transparent;
    border: 0;
    border-radius: 0;
    width: 42px;
    min-height: 38px;
    padding: .2rem;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + .55rem);
    right: 0;
    z-index: 20;
    display: none;
    min-width: 178px;
    padding: .45rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(7, 21, 35, .16);
  }

  .nav.is-open .nav-menu {
    display: grid;
    gap: .15rem;
  }

  .nav-menu a,
  .nav-menu button {
    justify-content: flex-start;
    width: 100%;
    min-height: 38px;
    padding: .45rem .55rem;
    color: var(--navy);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: .9rem;
    text-align: left;
  }

  .nav .nav-cta {
    display: none;
  }
}

@media (min-width: 680px) {
  .hero-actions,
  .final-cta {
    display: flex;
    align-items: center;
  }

  .hero-actions .button {
    width: auto;
  }

  .steps,
  .badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-inner {
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    align-items: center;
  }

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

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

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

  .site-footer {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
    padding-bottom: 2.4rem;
  }

  .site-footer > * {
    max-width: none;
  }

  .sticky-quote {
    right: 1.2rem;
    left: auto;
    width: auto;
    min-width: 260px;
  }
}

@media (min-width: 920px) {
  .nav-cta {
    padding-inline: .9rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
    align-items: center;
  }
}

@media (max-width: 520px) {
  .work-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: .45rem;
  }

  .work-carousel .carousel-button {
    width: 40px;
    height: 40px;
  }
}

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