:root {
  --ink: #162019;
  --muted: #5e665f;
  --paper: #f7f7f1;
  --white: #ffffff;
  --line: #dfe3db;
  --green: #0b6f57;
  --green-deep: #084536;
  --yellow: #f0b429;
  --brick: #b54a2e;
  --sky: #d8edf7;
  --sage: #e7f0e9;
  --shadow: 0 22px 60px rgba(12, 26, 18, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(22, 32, 25, 0.08);
}

.top-strip {
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.86rem;
}

.top-strip__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-strip a {
  color: var(--white);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: clamp(172px, 18vw, 230px);
  max-height: 64px;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  color: #313a33;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--sage);
  color: var(--green-deep);
}

.nav-cta {
  padding: 11px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(11, 111, 87, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  min-height: clamp(480px, 70svh, 650px);
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 23, 17, 0.86) 0%, rgba(8, 23, 17, 0.64) 44%, rgba(8, 23, 17, 0.12) 100%),
    url("assets/images/hero-painting.jpg") center right / cover no-repeat;
}

.hero__content {
  padding: 58px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.6rem, 6.5vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(240, 180, 41, 0.24);
}

.button--light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-deep);
}

.button--wide {
  width: 100%;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 34px 0 0;
}

.hero__facts div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.hero__facts dt {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.hero__facts dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.trust-bar {
  background: var(--yellow);
  color: var(--ink);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  font-weight: 900;
}

.trust-bar__grid span {
  padding: 18px 10px;
  text-align: center;
}

.section {
  padding: 88px 0;
}

main section[id] {
  scroll-margin-top: 125px;
}

.section--intro {
  padding-bottom: 48px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.section-copy h2,
.coverage-band h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-grid,
.contact-grid,
.review-layout,
.coverage-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-text p:first-child {
  margin-top: 0;
}

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

.service-card,
.project-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 32, 25, 0.07);
  overflow: hidden;
}

.service-card img,
.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card__body,
.project-card__body {
  padding: 22px;
}

.service-card__tag {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-deep);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card h3,
.project-card h3,
.process-list h3,
.service-list h3 {
  margin: 14px 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p,
.project-card p,
.process-list p,
.service-list p,
.review-card figcaption,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.service-list > div {
  padding: 24px;
  background: var(--white);
}

.service-list h3 {
  margin-top: 0;
}

.coverage-band {
  padding: 58px 0;
  background: var(--green-deep);
  color: var(--white);
}

.coverage-band .eyebrow {
  color: var(--yellow);
}

.coverage-band h2 {
  max-width: 520px;
}

.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.filter-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.filter-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

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

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

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

.project-card__body span {
  color: var(--brick);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.section--process {
  background: var(--sage);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(11, 111, 87, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.process-list span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.review-layout {
  align-items: stretch;
}

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

.review-card {
  margin: 0;
  padding: 28px;
}

.review-card blockquote {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(216, 237, 247, 0.92), rgba(231, 240, 233, 0.94)),
    url("assets/images/detail-rollers.jpg") center / cover no-repeat;
}

.contact-panel,
.quote-form {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 34px;
}

.contact-panel p {
  margin-top: 16px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-methods a {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.contact-methods span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-methods strong {
  overflow-wrap: anywhere;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

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

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfd6cf;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

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

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 111, 87, 0.14);
}

.estimate-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-left: 5px solid var(--yellow);
  border-radius: 6px;
  background: #fff8df;
}

.estimate-box span {
  color: var(--muted);
  font-weight: 900;
}

.estimate-box strong {
  color: var(--green-deep);
  font-size: 1.2rem;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green-deep);
  font-weight: 800;
}

.site-footer {
  padding: 54px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 42px;
}

.brand--footer .brand__logo {
  width: 220px;
  padding: 8px;
  border-radius: 6px;
  background: var(--white);
}

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

.site-footer p {
  max-width: 440px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: none;
  min-width: 64px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

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

  .nav-links {
    position: fixed;
    inset: 106px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 45px rgba(16, 32, 24, 0.16);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 16px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8, 23, 17, 0.86), rgba(8, 23, 17, 0.44)),
      url("assets/images/hero-painting.jpg") center / cover no-repeat;
  }

  .service-grid,
  .project-grid,
  .service-list,
  .process-list,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .contact-grid,
  .review-layout,
  .coverage-band__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading--split {
    display: grid;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .top-strip__inner {
    min-height: 0;
    padding: 8px 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    text-align: center;
  }

  .brand__logo {
    width: 160px;
    max-height: 54px;
  }

  .nav-links {
    inset-block-start: 118px;
  }

  .hero__content {
    padding: 54px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .trust-bar__grid,
  .service-grid,
  .project-grid,
  .service-list,
  .process-list,
  .review-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  main section[id] {
    scroll-margin-top: 135px;
  }

  .section--intro {
    padding-bottom: 30px;
  }

  .service-card img,
  .project-card img {
    height: 220px;
  }

  .process-list li {
    min-height: auto;
  }

  .contact-panel,
  .quote-form {
    padding: 22px;
  }

  .estimate-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-call {
    display: inline-flex;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
