@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");
:root {
  --deep: #17354b;
  --accent: #c59a47;
  --ink: #192a35;
  --pale: #f3f5f6;
  --muted: #60706c;
  --line: #dce2df;
  --white: #fff;
  --shadow: 0 18px 50px #102d2818;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 0.75rem;
  color: var(--deep);
}
p {
  margin: 0 0 1rem;
}
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.callbar {
  padding: 8px 20px;
  text-align: center;
  color: #fff;
  background: var(--deep);
  font-weight: 700;
  font-size: 0.9rem;
}
.callbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fffc;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 1rem/1.05 Manrope;
  color: var(--deep);
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep);
  border-radius: 50%;
  font-size: 1.1rem;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: #6a7774;
  font: 700 0.66rem/1.2 "DM Sans";
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 700;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}
.nav .nav-cta {
  padding: 11px 16px;
  color: #fff;
  background: var(--deep);
  border-radius: 5px;
}
.menu {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid var(--deep);
  border-radius: 5px;
  color: #fff;
  background: var(--deep);
  font-weight: 800;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.button.alt {
  color: var(--deep);
  background: #fff;
}
.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  min-height: 620px;
  background: var(--pale);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(26px, calc((100vw - var(--max)) / 2)) 80px
    max(26px, calc((100vw - var(--max)) / 2));
}
.hero h1 {
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  max-width: 700px;
}
.hero-copy > p {
  max-width: 620px;
  color: #4f615c;
  font-size: 1.18rem;
}
.hero-photo {
  min-height: 450px;
  background: url("frisco-covered-patio-hero.png") center/cover no-repeat;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.4rem;
}
.trust {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.trust .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 700;
  color: #52625e;
}
.trust span:before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
}
.section {
  padding: 88px 0;
}
.section-soft {
  background: var(--pale);
}
.section-dark {
  background: var(--deep);
  color: #dce9e5;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.heading {
  max-width: 780px;
  margin-bottom: 38px;
}
.heading h1,
.heading h2 {
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}
.heading > p {
  color: var(--muted);
  font-size: 1.08rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: #fff;
  box-shadow: 0 8px 28px #102d280a;
}
.card h3 {
  font-size: 1.35rem;
}
.card p {
  color: var(--muted);
}
.card a {
  color: var(--deep);
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature-photo {
  min-height: 430px;
  background: url("frisco-covered-patio-hero.png") center/cover no-repeat;
  box-shadow: var(--shadow);
}
.list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.list li:before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.step {
  padding-top: 20px;
  border-top: 3px solid var(--accent);
}
.step b {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.step h3 {
  margin-top: 18px;
}
.page-hero {
  padding: 80px 0 65px;
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  max-width: 850px;
}
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project {
  min-height: 390px;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.project-attached {
  background-image: url("project-modern-patio.webp");
}
.project-pergola {
  background-image: url("project-louvered-pergola.webp");
}
.project-dining {
  background-image: url("project-dining-pavilion.webp");
}
.project-porch {
  background-image: url("project-finished-porch.webp");
}
.project div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 55px 24px 22px;
  color: #fff;
  background: linear-gradient(transparent, #081c18e8);
}
.project h2 {
  color: #fff;
  font-size: 1.45rem;
}
.quote-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.quote-form {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-weight: 700;
  font-size: 0.88rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #bec9c5;
  border-radius: 4px;
  font: inherit;
}
.field textarea {
  min-height: 130px;
}
.quote-form .button {
  margin-top: 18px;
  width: 100%;
}
.fine {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}
.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--deep);
  font-size: 1.05rem;
}
.faq details p {
  padding-top: 10px;
  color: var(--muted);
}
.cta {
  padding: 70px 0;
  background: var(--accent);
  color: #fff;
}
.cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  max-width: 760px;
}
.cta .button {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
}
.footer {
  padding: 60px 0 25px;
  color: #cbd9d5;
  background: #0c2622;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 50px;
}
.footer h2 {
  color: #fff;
  font-size: 1rem;
}
.footer a {
  display: block;
  margin: 7px 0;
}
.footer-bottom {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #ffffff22;
  font-size: 0.78rem;
  color: #9bb0aa;
}
.mobile-call {
  display: none;
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 11px;
    font-weight: 800;
  }
  .nav.open {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    min-height: 390px;
    order: -1;
  }
  .split,
  .quote-wrap {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-call {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: block;
    padding: 14px 18px;
    color: #fff;
    background: var(--deep);
    border-radius: 99px;
    font-weight: 800;
    box-shadow: var(--shadow);
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .callbar {
    font-size: 0.78rem;
  }
  .header-inner {
    min-height: 72px;
  }
  .nav.open {
    top: 72px;
  }
  .brand {
    font-size: 0.88rem;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .hero-copy {
    padding: 55px 20px;
  }
  .hero h1 {
    font-size: 2.85rem;
  }
  .hero-photo {
    min-height: 270px;
  }
  .section {
    padding: 62px 0;
  }
  .grid-3,
  .steps,
  .gallery,
  .fields,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .project {
    min-height: 300px;
  }
  .cta .wrap {
    display: block;
  }
  .cta .button {
    margin-top: 20px;
  }
  .field.full {
    grid-column: auto;
  }
}
