/* Gen3 Remodeling homepage preview. Palette from their logo:
   rust #d14d28 (darkened for contrast), teal #82cec3, brown #5b3e2c, cream #feeeb4. */
:root {
  --rust: #b8401f;
  --rust-dark: #9a3519;
  --teal: #82cec3;
  --teal-soft: #e3f3f1;
  --brown: #5b3e2c;
  --ink: #2f2119;
  --muted: #5e5048;
  --cream: #fbf6ea;
  --white: #ffffff;
  --ribbon-h: 28px;
  --nav-h: 76px;
  --radius: 14px;
  --container: 1200px;
  --section-pad: clamp(3.5rem, 7vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ribbon-h) + var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-top: calc(var(--ribbon-h) + var(--nav-h));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Preview ribbon */
.ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--ribbon-h);
  display: flex; align-items: center; justify-content: center;
  padding-inline: .75rem;
  background: var(--ink); color: #f3ece0;
  font-size: .75rem; line-height: 1.2; text-align: center;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* Header */
.nav {
  position: fixed; top: var(--ribbon-h); left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: rgb(255 255 255 / .97);
  border-bottom: 1px solid #eadfcf;
  backdrop-filter: blur(6px);
}
.nav-bar { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.logo img { width: auto; height: 56px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-gen3 { font-family: "Rye", Georgia, serif; font-size: 1.6rem; color: var(--rust); letter-spacing: .02em; }
.logo-sub { font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brown); margin-top: .2rem; }
.nav-links { display: none; margin-left: auto; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--rust); }
.nav-call { margin-left: auto; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-call { margin-left: .5rem; }
}

/* Buttons */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn { background: var(--rust); color: var(--white); }
.btn:hover { background: var(--rust-dark); }
.btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .6); background: rgb(0 0 0 / .15); }
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .1); }
.btn-sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-link { display: inline-block; margin-top: .5rem; font-weight: 600; color: var(--rust); text-decoration: none; }
.btn-link:hover { text-decoration: underline; }

/* Section basics */
.section { padding-block: var(--section-pad); }
.section-head { display: flex; flex-direction: column; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { align-items: center; text-align: center; }
.tagline { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.tagline-light { color: var(--teal); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -.01em; }
.measure { max-width: 40rem; }
.muted { color: var(--muted); }
.s-cream { background: var(--cream); }
.s-teal { background: var(--teal); color: var(--ink); }
.s-dark { background: var(--ink); color: #f3ece0; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(calc(100svh - var(--ribbon-h) - var(--nav-h)), 760px);
  display: flex; align-items: flex-end;
  padding-block: 4rem 3.5rem;
  color: var(--white);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(32 21 15 / .82) 0%, rgb(32 21 15 / .55) 45%, rgb(32 21 15 / .1) 80%),
              linear-gradient(0deg, rgb(32 21 15 / .45), transparent 50%);
}
.hero-inner { display: flex; flex-direction: column; gap: 1.1rem; }
.hero-title { max-width: 22ch; font-size: clamp(2.1rem, 4.6vw, 3.75rem); font-weight: 700; letter-spacing: -.015em; text-shadow: 0 2px 16px rgb(0 0 0 / .3); }
.lead { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #f6efe6; }
.hero .btn-row { margin-top: .5rem; }

/* Trust strip */
.trust { background: var(--cream); border-bottom: 1px solid #eadfcf; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1.35rem 1rem; text-decoration: none;
  border-bottom: 1px solid #eadfcf;
}
.trust-item:nth-child(odd) { border-right: 1px solid #eadfcf; }
a.trust-item:hover .trust-label { text-decoration: underline; }
.trust-value { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.trust-label { font-size: .875rem; color: var(--muted); }
.trust-label a { color: var(--rust); font-weight: 600; text-decoration: none; }
.stars { color: #c98a10; letter-spacing: .05em; font-size: 1rem; }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; border-right: 1px solid #eadfcf; padding: 1.75rem 1.5rem; }
  .trust-item:last-child { border-right: 0; }
}

/* Services */
.services { display: grid; gap: 2rem; align-items: center; }
.services-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service-list { display: flex; flex-direction: column; gap: 1rem; }
.service {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem 1.4rem; border-radius: var(--radius);
  background: var(--teal-soft); border-left: 5px solid var(--teal);
}
.service-num { font-family: "Rye", Georgia, serif; font-size: 1.25rem; color: var(--rust); line-height: 1.3; }
.service h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.service p { color: var(--muted); font-size: .98rem; }
@media (min-width: 900px) { .services { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Values band */
.values { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.values-grid { display: grid; gap: 1.75rem; text-align: center; }
.values h3 { font-family: "Rye", Georgia, serif; font-weight: 400; font-size: 1.9rem; color: var(--ink); margin-bottom: .4rem; letter-spacing: .03em; }
.values p { max-width: 22rem; margin-inline: auto; font-size: .98rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

/* Gallery */
.gallery { display: grid; gap: 1rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1.1rem .9rem;
  background: linear-gradient(0deg, rgb(32 21 15 / .8), transparent);
  color: var(--white); font-weight: 500; font-size: .95rem;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery .g-big { grid-row: span 2; }
  .gallery .g-big img { aspect-ratio: auto; min-height: 100%; }
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.75rem; border-top: 4px solid var(--rust); box-shadow: 0 6px 24px rgb(47 33 25 / .06); }
.step-num { font-family: "Rye", Georgia, serif; font-size: 1.6rem; color: var(--teal); -webkit-text-stroke: .5px var(--brown); }
.step h3 { font-size: 1.2rem; margin: .5rem 0 .4rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Service area */
.area { display: grid; gap: 2rem; align-items: center; }
.area .h2 { margin: .6rem 0 .9rem; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.towns li { padding: .7rem 1.3rem; border-radius: 999px; background: var(--teal-soft); border: 1.5px solid var(--teal); font-weight: 600; }
@media (min-width: 900px) { .area { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

/* Quote form */
.quote { display: grid; gap: 2.5rem; }
.quote-copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.quote-copy .h2 { color: var(--white); }
.quote-email { font-size: .95rem; color: #d8cdbd; }
.quote-email a { color: var(--teal); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem;
  padding: .8rem .9rem; border: 1.5px solid #d8cbb8; border-radius: 10px; background: var(--white); color: var(--ink);
  width: 100%;
}
.form input:focus, .form textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--brown); }
.form-note { padding: .9rem 1rem; border-radius: 10px; background: var(--teal-soft); border: 1.5px solid var(--teal); font-weight: 500; }
@media (min-width: 900px) {
  .quote { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
  .form { padding: 2rem; }
}

/* Footer */
.footer { background: #1f1611; color: #e8dfd2; padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; gap: 2rem; }
.logo-footer .logo-gen3 { color: #f08a63; }
.logo-footer .logo-sub { color: var(--teal); }
.footer-small { margin-top: .9rem; font-size: .92rem; color: #c9bdad; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; font-size: .95rem; }
.footer-list strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .2rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .85rem; color: #b6a996; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 767px) {
  :root { --nav-h: 68px; --ribbon-h: 34px; }
  .ribbon { font-size: .66rem; white-space: normal; line-height: 1.25; }
  .logo img { height: 46px; }
  .logo-gen3 { font-size: 1.35rem; }
  .logo-sub { font-size: .68rem; }
  .nav-call span { display: none; }
  .nav-call { width: 2.75rem; padding: 0; }
  .hero { padding-block: 2.25rem 2rem; min-height: 0; }
  .hero-inner { gap: .9rem; }
  .hero-title { font-size: 2rem; }
  .lead { font-size: 1rem; }
  .hero .btn-row { gap: .6rem; }
  .hero .btn-row a { flex: 1 1 100%; }
  body { padding-bottom: 64px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    height: 64px; box-shadow: 0 -4px 16px rgb(0 0 0 / .15);
  }
  .call-bar a { display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
  .call-bar-call { background: var(--rust); color: var(--white); }
  .call-bar-quote { background: var(--teal); color: var(--ink); }
}
