:root {
  --ink: #15191d;
  --slate: #29323a;
  --paper: #f7f5f0;
  --white: #ffffff;
  --orange: #e96324;
  --orange-dark: #b83f0c;
  --line: rgba(21, 25, 29, 0.14);
  --shadow: 0 24px 70px rgba(13, 18, 23, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: var(--white);
}

.nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 210px;
  height: 66px;
  object-fit: contain;
  object-position: left center;
  border-radius: 3px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 650; font-size: .94rem; }
.nav-links a:hover { color: #ff9a65; }

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--orange);
  border-radius: 4px;
  color: var(--white) !important;
  box-shadow: 0 10px 30px rgba(233, 99, 36, .25);
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 13, 17, .91) 0%, rgba(8, 13, 17, .74) 42%, rgba(8,13,17,.18) 100%),
    url("images/IMG_6810.webp") center / cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 165px 0 104px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 20px;
  color: #ffaf85;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--orange); }

h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { max-width: 820px; font-size: clamp(3.2rem, 7.7vw, 7.5rem); }
h1 span { color: var(--orange); }

.hero-copy {
  max-width: 680px;
  margin: 28px 0 34px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255,255,255,.84);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: #fb783b; }
.button-outline { border-color: rgba(255,255,255,.65); color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--ink); }

.trust-strip { background: var(--ink); color: var(--white); }
.trust-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: #ff9a65; font-size: 1.05rem; }
.trust-item span { color: rgba(255,255,255,.68); font-size: .9rem; }

.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 104px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.section-heading p { margin: 0; max-width: 560px; color: #55616a; font-size: 1.08rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--paper); min-height: 250px; padding: 36px; position: relative; overflow: hidden; }
.service-card::after { content: attr(data-num); position: absolute; right: 18px; bottom: -28px; font-size: 7rem; font-weight: 900; line-height: 1; color: rgba(21,25,29,.045); }
.service-card h3 { margin-bottom: 14px; font-size: 1.45rem; }
.service-card p { margin: 0; color: #5b6670; }
.service-line { width: 38px; height: 4px; background: var(--orange); margin-bottom: 26px; }

.work-section { width: min(1440px, 100%); margin: 0 auto; padding: 20px 18px 104px; }
.work-heading { width: min(1180px, calc(100% - 18px)); margin: 0 auto 42px; display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.work-heading p { margin: 0; color: #55616a; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 12px; }
.project { position: relative; overflow: hidden; background: #d7d5d0; }
.project.wide { grid-column: span 2; }
.project.tall { grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project:hover img { transform: scale(1.035); }
.project-label { position: absolute; left: 14px; bottom: 14px; background: rgba(17,21,25,.88); color: var(--white); padding: 8px 12px; font-size: .82rem; font-weight: 750; backdrop-filter: blur(8px); }

.offer-band { background: var(--orange); color: var(--white); }
.offer-inner { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 54px 0; display: flex; justify-content: space-between; gap: 36px; align-items: center; }
.offer-inner h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.offer-inner p { margin: 8px 0 0; font-weight: 650; }
.offer-inner .button { background: var(--white); color: var(--ink); white-space: nowrap; }

.estimate-section { background: var(--ink); color: var(--white); }
.estimate-grid { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 104px 0; display: grid; grid-template-columns: .86fr 1.14fr; gap: 84px; }
.estimate-copy p { color: rgba(255,255,255,.68); font-size: 1.08rem; }
.estimate-copy a { color: #ff9a65; font-size: 1.6rem; font-weight: 850; text-decoration: none; }
.estimate-copy .location { margin-top: 34px; font-size: .95rem; color: rgba(255,255,255,.7); }

.estimate-form { background: var(--white); color: var(--ink); padding: 38px; border-top: 6px solid var(--orange); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .88rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #bdc2c5; border-radius: 3px; background: #fbfbfa; color: var(--ink); padding: 12px 13px; min-height: 50px; }
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(233,99,36,.18); border-color: var(--orange); }
.estimate-form .button { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; color: #68717a; font-size: .82rem; text-align: center; }

footer { background: #0d1013; color: rgba(255,255,255,.68); }
.footer-inner { width: min(1180px, calc(100% - 36px)); min-height: 110px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner strong { color: var(--white); }
.footer-inner a { color: #ff9a65; text-decoration: none; font-weight: 750; }

.mobile-call { display: none; }

@media (max-width: 900px) {
  .nav-links a:not(.phone-link) { display: none; }
  .hero { min-height: 700px; background-position: 59% center; }
  .section-heading, .estimate-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .estimate-grid { gap: 48px; }
}

@media (max-width: 620px) {
  .nav { min-height: 72px; }
  .brand-logo { width: 176px; height: 58px; }
  .nav .phone-link { display: none; }
  .hero { min-height: 660px; align-items: end; background-position: 64% center; }
  .hero-inner { padding: 130px 0 68px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-copy { margin: 22px 0 28px; }
  .hero-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .trust-item, .trust-item:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; padding: 28px; }
  .work-section { padding-bottom: 74px; }
  .work-heading { display: block; }
  .work-heading p { margin-top: 14px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project.wide { grid-column: span 1; }
  .project.tall { grid-row: span 1; }
  .offer-inner { display: block; padding: 44px 0; }
  .offer-inner .button { width: 100%; margin-top: 24px; }
  .estimate-grid { padding: 76px 0; }
  .estimate-form { padding: 26px 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { padding: 32px 0 94px; display: block; }
  .mobile-call { display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; min-height: 58px; border-radius: 6px; background: var(--orange); color: var(--white); align-items: center; justify-content: center; text-decoration: none; font-weight: 850; box-shadow: 0 12px 35px rgba(0,0,0,.35); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project img { transition: none; }
}

/* Blog guide and homepage article preview */
.blog-page .site-header { position: relative; background: var(--ink); }
.blog-article { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.back-link { display: block; margin-bottom: 32px; color: #914017; }
.blog-article .eyebrow, #blog .eyebrow { color: #914017; }
.blog-article h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.12; }
.article-byline { color: #5b6670; font-size: .9rem; margin: 20px 0; }
.article-image { margin: 32px 0; }
.article-image img { width: 100%; height: auto; max-height: 450px; object-fit: cover; border-radius: 5px; }
.article-image figcaption { color: #5b6670; font-size: .85rem; margin-top: 8px; }
.article-copy { font-size: 1.08rem; line-height: 1.85; }
.article-copy h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); line-height: 1.2; margin: 48px 0 20px; letter-spacing: -.025em; }
.article-copy h3 { font-size: 1.4rem; line-height: 1.3; margin: 32px 0 16px; }
.article-copy p { margin: 0 0 22px; }
.article-cta { padding: 32px; margin-top: 48px; background: var(--ink); color: white; border-top: 5px solid var(--orange); }
.article-cta h2 { font-size: 2rem; line-height: 1.2; }
.article-phone { display: inline-block; margin: 16px 0 0 12px; color: #ffaf85; }
.blog-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.blog-card img { width: 100%; height: 300px; object-fit: cover; border-radius: 5px; }
.blog-card h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.blog-card h3 a { text-decoration: none; }
.blog-card h3 a:hover { text-decoration: underline; }
@media(max-width: 620px) { .blog-card { grid-template-columns: 1fr; gap: 20px; } .blog-card img { height: 230px; } .article-cta { padding: 24px; } .article-phone { margin-left: 0; } .blog-article { padding-top: 28px; } }
