/* ============================================================
   Driveway Replacement Specialist — shared stylesheet
   1:1 static clone of a Wix source site. Tokens + shared chrome
   (top bar, nav, footer, hero) live here and are owned by the
   orchestrator. Page-scoped rules are appended below under
   banner comments named  page: <slug>.
   Fonts are loaded via a <link> tag in each page head, NOT here.
   ============================================================ */

:root {
  --brown: #865f36;
  --brown-band: #865f36;
  --brown-dark: #6f4d2b;
  --ink: #0a0a0a;
  --footer-bg: #1b1613;
  --footer-line: #33291f;
  --text: #2c2c2c;
  --muted: #5f5f5f;
  --field-bg: #e9e5dd;
  --line: #e2ded7;
  --white: #ffffff;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --wrap-wide: 1700px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
/* Wide variant — the source lays the home Services grid out across a much
   wider column than the rest of the page content. */
.wrap-wide { max-width: var(--wrap-wide); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  text-align: center;
  margin: 0 0 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .2px;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.btn-primary,
.btn-quote {
  background: var(--brown);
  color: var(--white);
}
.btn-primary:hover,
.btn-quote:hover { background: var(--brown-dark); }
.btn-quote { padding: 12px 24px; }

/* ============================================================
   Header — brown top bar + white nav bar
   ============================================================ */
.site-header { position: relative; z-index: 20; }

.topbar {
  background: var(--brown);
  color: var(--white);
  font-size: 15px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.topbar-item .ic {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  flex: 0 0 auto;
}
.topbar-item .ic svg { width: 14px; height: 14px; }

.navbar { background: var(--white); border-bottom: 1px solid #f0eee9; }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo-mark { width: 44px; height: 34px; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.12;
  color: #111;
  text-transform: none;
}

.mainnav { display: flex; align-items: center; gap: 34px; }
.mainnav a {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .4px;
  color: #1c1c1c;
  padding: 6px 0;
  transition: color .2s ease;
}
.mainnav a:hover { color: var(--brown); }
.mainnav a.active { color: var(--brown); }

/* ============================================================
   Inner-page hero band (dark photo + centered white title)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--ink) center / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.page-hero-title {
  position: relative;
  color: var(--white);
  font-size: 54px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--footer-bg); color: #cfc7bd; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 56px;
}
.foot-brand .brand-name { color: var(--white); }
.foot-brand p {
  margin: 22px 0 20px;
  font-size: 15px;
  color: #b7afa3;
  max-width: 320px;
}
.site-footer h3 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  margin: 6px 0 22px;
}
.quicklinks, .contactinfo { list-style: none; margin: 0; padding: 0; }
.quicklinks li, .contactinfo li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #cfc7bd;
}
.quicklinks li a { transition: color .2s ease; }
.quicklinks li a:hover { color: var(--brown); }
.q-ic, .c-ic {
  width: 22px; height: 22px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(134,95,54,.25);
  color: var(--brown);
  margin-top: 1px;
}
.q-ic svg, .c-ic svg { width: 12px; height: 12px; }
.fb {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
}
.fb svg { width: 16px; height: 16px; }

.footer-strip { background: var(--brown); color: var(--white); }
.footer-strip .wrap {
  text-align: center;
  font-size: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* ============================================================
   Generic section helpers
   ============================================================ */
.section { padding: 80px 0; }
/* Brown bands carry a tiled texture in the source (Wix <wix-bg-image>):
   Services uses the wood grain at full strength, "Our Work" uses the
   cross-hatch at 30%. Both tile at their natural 200px size. */
.section-band {
  position: relative;
  background: var(--brown-band);
  color: var(--white);
}
.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('texture-wood.png') repeat 50% 50%;
  background-size: 200px 200px;
  pointer-events: none;
}
.section-band > * { position: relative; z-index: 1; }

.section-band.band-hatch::before {
  background-image: url('texture-crosshatch.png');
  background-size: 200px 201px;
  opacity: .3;
}
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .eyebrow { color: inherit; }
.section-head h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: .5px;
}

/* ---------- Contact form + info card (home + contact) ---------- */
.contact-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.form-intro .eyebrow { text-align: left; margin-bottom: 2px; }
.form-intro h2 { font-size: 40px; color: var(--brown); margin-bottom: 30px; letter-spacing: .5px; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form .field.full { grid-column: 1 / -1; }
.lead-form label { font-size: 14px; color: #333; }
.lead-form input,
.lead-form textarea,
.lead-form select {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--field-bg);
  border: none;
  padding: 12px 14px;
  color: #222;
  width: 100%;
}
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form select { appearance: auto; }
.lead-form .submit-row { grid-column: 1 / -1; }
.lead-form .btn { background: var(--brown); color: #fff; padding: 12px 30px; }
.lead-form .btn:hover { background: var(--brown-dark); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-card { border: 1px solid var(--line); background: #fff; }
.info-card-top {
  background: var(--brown);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
}
.info-card-top .big-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.info-card-top .big-ic svg { width: 26px; height: 26px; }
.info-card-top .lbl { font-size: 14px; opacity: .9; }
.info-card-top .num { font-family: var(--font-head); font-size: 26px; font-weight: 500; }
.info-card-body { padding: 26px 28px; display: grid; gap: 22px; }
.info-row { display: flex; align-items: center; gap: 16px; font-size: 15px; color: #444; }
.info-row .ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: #555; color: #fff;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.info-row .ic svg { width: 18px; height: 18px; }

/* ============================================================
   Motion — reproduced from the source (Wix used fadeIn entrance
   reveals). Pure-CSS, on-load, animation-fill-mode:both so the
   element ALWAYS ends visible even if scripting is off. The only
   opacity:0 in this file lives inside these keyframes (allowed).
   ============================================================ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal { animation: fade-in-up .7s ease both; }
.reveal-2 { animation: fade-in-up .7s ease .12s both; }
.reveal-3 { animation: fade-in-up .7s ease .24s both; }
.fade { animation: fade-in .9s ease both; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .navbar-inner { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .mainnav { order: 3; width: 100%; justify-content: center; gap: 22px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-block { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-title { font-size: 40px; }
  .section-head h2 { font-size: 32px; }
}
@media (max-width: 620px) {
  .topbar-inner { gap: 18px; flex-wrap: wrap; font-size: 13px; }
  .lead-form { grid-template-columns: 1fr; }
}

/* ============================================================
   page: index
   ============================================================ */
.home-hero {
  position: relative;
  min-height: 560px;
  background: #333 center / cover no-repeat;
  display: flex;
  align-items: center;
}
.home-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%);
}
.home-hero-content { position: relative; max-width: 620px; }
.home-hero-content h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 18px;
}
.home-hero-content p { color: #f2efe9; font-size: 16px; margin: 0 0 26px; max-width: 540px; }

.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-copy .eyebrow { text-align: left; margin-bottom: 2px; }
.about-copy h2 { color: var(--brown); font-size: 40px; margin-bottom: 22px; letter-spacing: .5px; }
.about-copy p { margin: 0 0 16px; color: #3a3a3a; }
.about-copy .btn { margin-top: 10px; }
/* Offset two-photo composition with a brown outline frame sitting BEHIND
   both photos, showing as a backdrop around their edges. */
.about-media { position: relative; min-height: 510px; }
.about-media img { position: absolute; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.about-media .img-a { width: 41.5%; height: 430px; left: 0; top: 24px; z-index: 1; }
.about-media .img-b { width: 55.3%; height: 430px; right: 0; top: 0; z-index: 1; }
.about-media .frame-deco {
  position: absolute;
  width: 53.7%; height: 434px;
  left: 24.9%; top: 68px;
  border: 2px solid var(--brown);
  z-index: 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.svc-card { background: #fff; color: var(--text); display: flex; flex-direction: column; }
.svc-card .thumb { width: 100%; height: 207px; object-fit: cover; }
.svc-card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card h3 { color: var(--brown); font-size: 21px; font-weight: 500; line-height: 1.2; }
.svc-card p { font-size: 14px; color: #4a4a4a; margin: 0; flex: 1; }
.svc-card .readmore { font-size: 14px; font-weight: 600; color: #1c1c1c; }

.testi { text-align: center; }
.testi-card {
  max-width: 980px;
  min-height: 360px;
  margin: 0 auto;
  border: 1px solid var(--brown);
  padding: 60px 110px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* faint cross-hatch fill behind the quote (5% in the source) */
.testi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('texture-crosshatch.png') repeat 50% 50%;
  background-size: 200px 201px;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}
.testi-card p { color: #4a4a4a; margin: 0 0 20px; position: relative; z-index: 1; }
.testi-card .who { color: var(--brown); font-family: var(--font-head); font-weight: 500; font-size: 18px; position: relative; z-index: 1; }
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--brown); font-size: 30px;
  z-index: 1;
}
.testi-arrow.l { left: 40px; }
.testi-arrow.r { right: 40px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; }

.strip-band { width: 100%; }
.strip-band img { width: 100%; height: 220px; object-fit: cover; }

/* Facebook project videos that close out the "Our Work" band in the source */
.work-videos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 46px;
}
.work-videos iframe {
  border: 0;
  width: 502px;
  height: 284px;
  max-width: 100%;
}

@media (max-width: 1500px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1200px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .about-row { grid-template-columns: 1fr; }
  .about-media { min-height: 470px; }
  .home-hero-content h1 { font-size: 38px; }
  .svc-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card { padding: 40px 46px; min-height: 0; }
  .testi-arrow.l { left: 12px; }
  .testi-arrow.r { right: 12px; }
}

/* ============================================================
   page: services
   ============================================================ */
.svc-grid-lg { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.svc-grid-lg .svc-card .thumb { height: 210px; }
.svc-grid-lg .svc-card h3 { font-size: 22px; }
@media (max-width: 1000px) { .svc-grid-lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .svc-grid-lg { grid-template-columns: 1fr; } }

/* ============================================================
   page: about
   ============================================================ */
.about-page-section { padding: 90px 0; }

/* ============================================================
   page: faqs
   ============================================================ */
.faq-wrap { max-width: 940px; margin: 0 auto; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.faq-head h2 { font-size: 34px; font-weight: 600; }
.faq-search {
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #cfcfcf; padding: 8px 4px; color: #777;
  min-width: 260px;
}
.faq-search input { border: none; outline: none; font-size: 15px; flex: 1; background: transparent; }
.faq-tabs { border-bottom: 1px solid #e6e6e6; margin-bottom: 8px; }
.faq-tab { display: inline-block; color: var(--brown); font-size: 15px; padding: 10px 6px; border-bottom: 2px solid var(--brown); }
.faq-item { border-bottom: 1px solid #e6e6e6; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  font-size: 20px; color: #1a1a1a;
  font-family: var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { transition: transform .25s ease; flex: 0 0 auto; color: #333; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 26px; color: #444; font-size: 16px; max-width: 900px; }
.faq-share { display: flex; gap: 16px; margin-top: 18px; color: #111; }
.faq-share svg { width: 20px; height: 20px; }
