:root {
  --red: #cc0000;
  --red-dark: #970000;
  --ink: #151515;
  --muted: #5d626a;
  --line: #dfdfdf;
  --soft: #f7f7f7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1.15rem;
}

strong {
  font-weight: 800;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: var(--white);
}

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

.top-strip {
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-strip .shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.shell {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 190px;
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.45rem;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  margin-left: 0.2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 22px rgba(204, 0, 0, 0.18);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.phone-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.phone-button,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.button.ghost {
  color: var(--red);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 124px);
  color: var(--white);
  overflow: hidden;
  background: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.14) 100%),
    url("images/hero-front.jpg") center / cover no-repeat;
  animation: hero-pan 14s ease-in-out infinite alternate;
}

.hero .shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 124px);
  padding-block: 5.5rem 4rem;
}

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

.hero-specialty {
  margin-bottom: 1.15rem;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 900;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.display-title {
  margin: 0;
  color: inherit;
  font-size: clamp(3rem, 6vw, 6.75rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 820px;
}

.hero h1 span {
  display: block;
}

.hero h1 .narrow-line {
  display: none;
}

.hero p {
  margin-top: 1.5rem;
  font-size: clamp(1.22rem, 2vw, 1.8rem);
  line-height: 1.25;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-badge {
  width: min(240px, 100%);
  justify-self: center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.3));
  animation: badge-in 900ms 650ms ease both;
}

.hero-copy > * {
  animation: slide-in 760ms ease both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 120ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 240ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 360ms;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
}

.round-control {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  cursor: pointer;
}

.dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: #cfcfcf;
  cursor: pointer;
}

.dot.is-active {
  background: var(--red);
}

.section-pad {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.3rem;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading h2,
.page-hero h1,
.display-title {
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  color: var(--ink);
}

.section-heading p,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.red-rule {
  display: block;
  width: 70px;
  height: 4px;
  margin-block: 1rem 1.35rem;
  background: var(--red);
}

.centered .red-rule {
  margin-inline: auto;
}

.help-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.help-band .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
}

.help-band h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  line-height: 1.05;
}

.help-band p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid,
.gallery-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
}

.service-card,
.gallery-card,
.quote-panel,
.info-panel,
.testimonial-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: clamp(230px, 20vw, 340px);
  object-fit: cover;
}

.service-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.2rem;
}

.service-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-top: -58px;
  margin-bottom: 1.1rem;
  color: var(--white);
  background: var(--red);
  border: 4px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(204, 0, 0, 0.25);
}

.service-card h3,
.gallery-card h3,
.quote-panel h2,
.info-panel h2,
.testimonial-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  line-height: 1.1;
}

.service-card p,
.gallery-card p {
  color: var(--muted);
  font-size: 1rem;
}

.service-card .button {
  margin-top: auto;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  color: #30343a;
  font-size: 1rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.56rem;
  height: 0.56rem;
  background: var(--red);
  border-radius: 999px;
}

.projects-section {
  background: linear-gradient(180deg, var(--white), #f4f4f4);
}

.featured-carousel {
  position: relative;
}

.featured-track {
  display: grid;
  grid-auto-columns: minmax(320px, 34%);
  grid-auto-flow: column;
  gap: 1.6rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.featured-track .gallery-card {
  scroll-snap-align: start;
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  background: #111;
}

.carousel-shell img {
  width: 100%;
  height: clamp(250px, 24vw, 390px);
  object-fit: cover;
  transition: opacity 220ms ease;
}

.gallery-grid .carousel-shell img {
  height: clamp(270px, 22vw, 360px);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-button.prev {
  left: 0.8rem;
}

.carousel-button.next {
  right: 0.8rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.gallery-body {
  padding: 1.55rem 1.65rem 1.8rem;
}

.gallery-body h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--red);
}

.testimonial-section {
  background: #f5f5f5;
}

.testimonial-wrap {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
}

.testimonial-card {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.testimonial-mark {
  color: var(--red);
  font-size: 4rem;
  line-height: 0.6;
  font-weight: 950;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}

.testimonial-card cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-weight: 900;
}

.page-hero {
  padding-block: clamp(3rem, 5vw, 5.25rem) clamp(2.4rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero.compact {
  padding-block: clamp(2.6rem, 4vw, 4.3rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.prose {
  max-width: 820px;
  color: #31353b;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  color: var(--ink);
  background: var(--soft);
  border-left: 6px solid var(--red);
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 850;
}

.about-image {
  position: sticky;
  top: 120px;
}

.about-image img,
.side-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  padding: 0;
  margin: 1.5rem 0;
  color: var(--red);
  font-size: 1.08rem;
  font-weight: 850;
  list-style: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-width: 120px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.gallery-card.is-hidden {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.quote-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-panel,
.info-panel {
  box-shadow: none;
}

.quote-panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 0;
  border-radius: 0;
}

.quote-image {
  min-height: 100%;
  background: url("images/gallery-renovations-02.jpg") center / cover no-repeat;
}

.info-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0 2rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.contact-icon {
  color: var(--red);
  font-weight: 950;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
}

.form-grid .full-span {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 850;
}

.required {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd2d6;
  border-radius: 3px;
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(204, 0, 0, 0.15);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.35rem;
}

.form-note,
.form-status,
.map-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.3rem;
  font-weight: 800;
}

.form-status.is-success {
  color: #137333;
}

.form-status.is-error {
  color: var(--red);
}

.map-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-panel header {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.2rem;
  font-weight: 900;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.footer-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #b00000);
}

.footer-cta .shell {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-block: 2.3rem;
}

.footer-cta img {
  width: 170px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-contact {
  display: grid;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.site-footer {
  color: var(--white);
  background: #050505;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  font-size: 0.9rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateX(34px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes hero-pan {
  from {
    transform: scale(1.04) translateX(-1%);
  }
  to {
    transform: scale(1.08) translateX(1.5%);
  }
}

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

@media (max-width: 1180px) {
  .phone-button {
    display: none;
  }

  .site-nav {
    font-size: 0.85rem;
  }

  .site-nav a {
    padding-inline: 0.65rem;
  }

  .hero .shell {
    grid-template-columns: 1fr 190px;
  }
}

@media (max-width: 920px) {
  .shell {
    width: min(100% - 32px, 760px);
  }

  .top-strip .shell {
    flex-direction: column;
    gap: 0.1rem;
  }

  .top-strip .shell span {
    display: none;
  }

  .nav-shell {
    min-height: 74px;
  }

  .brand img {
    width: 160px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: grid;
    gap: 0;
    padding: 1rem 1.5rem 1.8rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav a {
    padding: 0.95rem 0.5rem;
    border-radius: 0;
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero,
  .hero .shell {
    min-height: auto;
  }

  .hero .shell {
    grid-template-columns: 1fr;
    padding-block: 5rem 5.5rem;
  }

  .hero-badge {
    width: 150px;
    justify-self: start;
  }

  .help-band .shell,
  .section-heading,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-grid,
  .gallery-grid,
  .project-grid,
  .split,
  .contact-layout,
  .quote-layout,
  .quote-form-layout,
  .footer-cta .shell {
    grid-template-columns: 1fr;
  }

  .quote-image {
    min-height: 300px;
  }

  .featured-track {
    grid-auto-columns: minmax(280px, 82%);
  }

  .about-image {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero h1,
  .page-hero h1,
  .section-heading h2,
  .display-title {
    font-size: clamp(2.55rem, 11vw, 3.4rem);
    letter-spacing: -0.035em;
  }

  .hero h1 .wide-line {
    display: none;
  }

  .hero h1 .narrow-line {
    display: block;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .phone-button {
    width: 100%;
  }

  .service-body,
  .gallery-body,
  .quote-panel,
  .info-panel {
    padding: 1.35rem;
  }

  .service-icon {
    width: 58px;
    height: 58px;
    margin-top: -44px;
  }

  .form-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .filter-button {
    flex: 1 1 140px;
  }
}

.preview-banner {
  background-color: #f8f9fa;
  color: #333333;
  border-bottom: 1px solid #dee2e6;
  padding: 6px 12px;
  text-align: center;
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}
.preview-banner a {
  color: #0066cc;
  text-decoration: underline;
}
