/* Lockport Modern — Nordic Minimal Fresh */
:root {
  --sage: #7c9473;
  --sage-dark: #5c7454;
  --off-white: #faf9f6;
  --white: #ffffff;
  --slate: #2f3e46;
  --slate-deep: #202d33;
  --sand: #e9e2d0;
  --terracotta: #c96f4a;
  --terracotta-deep: #a94f2f;
  --gray: #6b7280;
  --border: #e5e7eb;
  --font-display: "Outfit", "Sora", "General Sans", Arial, sans-serif;
  --font-body: "Inter", "Karla", "DM Sans", Arial, sans-serif;
  --shadow-soft: 0 14px 38px rgba(47, 62, 70, .09);
  --shadow-hover: 0 18px 45px rgba(47, 62, 70, .14);
  --radius: 14px;
  --container: min(1160px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, .button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: .8rem;
  left: .8rem;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  border-radius: 8px;
  background: var(--slate);
  color: var(--white);
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 77px;
  background: rgba(250, 249, 246, .96);
  border-bottom: 1px solid rgba(124, 148, 115, .48);
  box-shadow: 0 3px 17px rgba(47, 62, 70, .06);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: var(--container);
  min-height: 77px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand-name { display: block; color: var(--slate); font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.brand-subtitle { display: block; margin-top: .14rem; color: var(--gray); font-size: .64rem; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .1em; }
.primary-nav { display: none; align-items: center; gap: 1.55rem; }
.primary-nav a { position: relative; padding: .7rem 0; color: #4c575d; font-size: .9rem; font-weight: 650; }
.primary-nav a:not(.header-cta)::after { position: absolute; right: 0; bottom: .38rem; left: 0; height: 2px; background: var(--terracotta); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:not(.header-cta):hover::after, .primary-nav a:not(.header-cta):focus-visible::after { transform: scaleX(1); }
.header-cta { display: none; padding: .72rem 1rem; border: 1px solid var(--terracotta); border-radius: 9px; color: var(--terracotta); font-size: .84rem !important; font-weight: 750 !important; transition: background .2s ease, color .2s ease; }
.header-cta:hover, .header-cta:focus-visible { background: var(--terracotta); color: var(--white); }
.mobile-nav { position: relative; }
.mobile-nav summary { display: grid; width: 44px; height: 44px; place-items: center; list-style: none; border: 1px solid var(--border); border-radius: 9px; color: var(--slate); cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform .18s ease; }
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -6px; }
.menu-lines::after { position: absolute; top: 6px; }
.mobile-nav[open] .menu-lines { background: transparent; }
.mobile-nav[open] .menu-lines::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] .menu-lines::after { top: 0; transform: rotate(-45deg); }
.mobile-nav-links { position: absolute; top: calc(100% + .65rem); right: 0; min-width: 215px; padding: .55rem; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-soft); }
.mobile-nav-links a { display: block; min-height: 44px; padding: .7rem .8rem; border-radius: 8px; font-weight: 650; }
.mobile-nav-links a:hover, .mobile-nav-links a:focus-visible { background: #f1f4ef; color: var(--sage-dark); }
.mobile-nav-links .mobile-estimate { margin-top: .25rem; background: var(--terracotta); color: var(--white); text-align: center; }
.mobile-nav-links .mobile-estimate:hover, .mobile-nav-links .mobile-estimate:focus-visible { background: var(--terracotta-deep); color: var(--white); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(90vh, 620px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-deep);
}
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% center; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(32, 45, 51, .89) 0%, rgba(32, 45, 51, .71) 37%, rgba(32, 45, 51, .20) 72%, rgba(32, 45, 51, .12) 100%); content: ""; }
.hero-inner { width: var(--container); padding: 7.7rem 0 5.2rem; }
.hero-content { max-width: 670px; animation: rise-in .7s ease both; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.15rem; color: #e4eee0; font-size: .76rem; font-weight: 750; letter-spacing: .095em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 24px; height: 1px; background: var(--sand); content: ""; }
.hero h1 { max-width: 600px; margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 7.4vw, 6.3rem); font-weight: 520; letter-spacing: -.065em; line-height: .96; }
.hero-copy { max-width: 610px; margin: 1.5rem 0 0; color: rgba(255,255,255,.93); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.1rem; border: 1px solid transparent; border-radius: 9px; font-size: .92rem; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 10px 25px rgba(43, 28, 20, .22); }
.button-primary:hover, .button-primary:focus-visible { background: var(--terracotta-deep); }
.button-secondary { border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.08); color: var(--white); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--white); background: var(--white); color: var(--slate); }
.trust-line { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin: 2.1rem 0 0; color: #eef2ea; font-size: .86rem; font-weight: 650; }
.trust-line span { display: inline-flex; align-items: center; gap: .75rem; }
.trust-line span + span::before { width: 4px; height: 4px; border-radius: 50%; background: var(--sand); content: ""; }

section { padding: 5rem 0; }
.container { width: var(--container); margin: auto; }
.section-label { margin: 0 0 .7rem; color: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-heading { max-width: 680px; margin: 0; color: var(--slate); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 530; letter-spacing: -.055em; line-height: 1.04; }
.section-intro { max-width: 640px; margin: 1rem 0 0; color: var(--gray); font-size: 1.04rem; }

.services { background: var(--white); }
.service-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.service-card { min-height: 100%; padding: 1.55rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--off-white); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.service-card:hover { border-color: var(--terracotta); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.service-icon { display: grid; width: 47px; height: 47px; margin-bottom: 1.35rem; place-items: center; border-radius: 12px; background: #e9f0e7; color: var(--sage-dark); transition: background .24s ease, color .24s ease; }
.service-card:hover .service-icon { background: var(--terracotta); color: var(--white); }
.service-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 670; letter-spacing: -.025em; line-height: 1.25; }
.service-card p { margin: .75rem 0 0; color: var(--gray); font-size: .95rem; }

.gallery { background: var(--off-white); }
.gallery-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.gallery-card { position: relative; min-height: 255px; overflow: hidden; border-radius: var(--radius); background: var(--slate); }
.gallery-card img { width: 100%; height: 100%; min-height: 255px; object-fit: cover; transition: transform .55s ease; }
.gallery-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(32, 45, 51, .82) 100%); content: ""; opacity: .82; transition: opacity .3s ease; }
.gallery-card:hover::after { opacity: 1; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-label { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.05rem; left: 1.25rem; color: var(--white); font-family: var(--font-display); font-size: 1.05rem; font-weight: 590; line-height: 1.25; }
.gallery-label span { display: block; margin-top: .32rem; color: rgba(255,255,255,.76); font-family: var(--font-body); font-size: .71rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.about { background: var(--sand); }
.about-grid { display: grid; gap: 2.2rem; align-items: center; }
.about-image { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sage); }
.about-image::after { position: absolute; right: 0; bottom: 0; width: 43%; height: 31%; border-top: 1px solid rgba(255,255,255,.52); border-left: 1px solid rgba(255,255,255,.52); border-radius: 50px 0 0 0; background: rgba(124, 148, 115, .38); content: ""; }
.about-image img { width: 100%; min-height: 400px; object-fit: cover; }
.about-copy .section-heading { max-width: 520px; }
.about-copy > p:not(.section-label) { max-width: 590px; margin: 1.1rem 0 0; color: #4d5b60; }
.benefit-list { display: grid; gap: .83rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.benefit-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--slate); font-weight: 620; }
.benefit-list svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: .15rem; color: var(--terracotta); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }

.testimonials { background: var(--slate); color: var(--white); }
.testimonials .section-heading { color: var(--white); }
.testimonials .section-intro { color: #d6ddd9; }
.testimonial-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.testimonial { min-height: 100%; padding: 1.45rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.sample-label { display: inline-block; margin: 0 0 .7rem; color: #d8e4d4; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stars { display: flex; gap: .2rem; margin-bottom: 1rem; color: #f2c96f; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: 1.11rem; font-weight: 480; line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1.1rem; color: #d6ddd9; font-size: .87rem; font-style: normal; font-weight: 650; }

.contact { background: var(--white); }
.contact-layout { display: grid; gap: 2rem; margin-top: 2.35rem; }
.contact-details { padding: 1.55rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--off-white); }
.contact-details h3 { margin-bottom: 1.4rem; }
.contact-list { display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; align-items: start; }
.contact-list .contact-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #e8eee6; color: var(--sage-dark); }
.contact-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.contact-list strong { display: block; margin-bottom: .1rem; color: var(--slate); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.contact-list a { color: var(--slate); font-weight: 650; text-decoration: underline; text-decoration-color: rgba(201, 111, 74, .48); text-underline-offset: 3px; }
.contact-list p { margin: 0; color: #4e5c61; font-size: .92rem; }
.service-area { margin: 1.3rem 0 1.35rem; padding-top: 1.25rem; border-top: 1px solid var(--border); color: #4e5c61; font-size: .92rem; }
.service-area strong { color: var(--slate); }
.map-frame { display: block; width: 100%; height: 260px; border: 0; border-radius: var(--radius); }
.form-card { padding: 1.55rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.form-card h3 { margin-bottom: .4rem; }
.form-note { margin: 0 0 1.35rem; color: var(--gray); font-size: .92rem; }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field label { color: #4c575d; font-size: .88rem; font-weight: 730; }
.field input, .field textarea { width: 100%; min-height: 47px; padding: .72rem .78rem; border: 1px solid #cfd5d2; border-radius: 8px; background: var(--off-white); color: var(--slate); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 122px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #89928f; }
.field input:focus, .field textarea:focus { border-color: var(--sage-dark); outline: 0; background: var(--white); box-shadow: 0 0 0 3px rgba(124, 148, 115, .18); }
.form-submit { width: 100%; margin-top: .25rem; }
.form-success { margin-top: 1rem; padding: 1rem; border: 1px solid #9cb993; border-radius: 9px; background: #edf5eb; color: #365232; font-weight: 650; }
.privacy-note { margin: .9rem 0 0; color: var(--gray); font-size: .76rem; }

.site-footer { padding: 3rem 0 1.35rem; background: var(--off-white); border-top: 1px solid var(--border); }
.footer-top { display: grid; gap: 2rem; }
.footer-brand .brand { margin-bottom: .85rem; }
.footer-brand p { max-width: 340px; margin: 0; color: var(--gray); font-size: .9rem; }
.footer-links h3, .footer-contact h3 { margin-bottom: .6rem; font-size: 1rem; }
.footer-links ul { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-contact a { display: inline-flex; min-height: 32px; align-items: center; color: #4c575d; font-size: .9rem; font-weight: 600; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-contact a:hover, .footer-contact a:focus-visible { color: var(--terracotta); }
.footer-contact { display: grid; align-content: start; }
.footer-contact p { margin: .1rem 0; color: var(--gray); font-size: .9rem; }
.footer-bottom { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--gray); font-size: .8rem; }
.back-to-top { display: inline-flex; width: max-content; min-height: 38px; align-items: center; padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 7px; color: var(--slate); font-size: .82rem; font-weight: 720; }
.back-to-top:hover, .back-to-top:focus-visible { border-color: var(--terracotta); color: var(--terracotta); }

@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .button { min-width: 178px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  section { padding: 6.2rem 0; }
  .hero-inner { padding: 8.5rem 0 6.3rem; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { padding: 1.55rem 1.3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card { min-height: 300px; }
  .gallery-card img { min-height: 300px; }
  .about-grid { grid-template-columns: minmax(280px, .92fr) minmax(340px, 1fr); gap: 4rem; }
  .about-image img { min-height: 510px; }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: .94fr 1.06fr; align-items: start; }
  .footer-top { grid-template-columns: 1.5fr .75fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .header-inner { min-height: 82px; }
  .site-header { min-height: 82px; }
  .mobile-nav { display: none; }
  .primary-nav { display: flex; }
  .header-cta { display: inline-flex; align-items: center; min-height: 44px; }
  .primary-nav { gap: 1.75rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-card { min-height: 275px; }
  .gallery-card img { min-height: 275px; }
  .contact-details, .form-card { padding: 2rem; }
}
@media (min-width: 1200px) {
  .gallery-card { min-height: 310px; }
  .gallery-card img { min-height: 310px; }
  .service-card { padding: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
