/* ==========================================================================
   Avenza Built Inc. — site styles
   Brand: deep navy + warm Calgary copper on a soft cream base
   ========================================================================== */

:root {
  --navy:      #14293f;
  --navy-800:  #1c3550;
  --navy-700:  #24466a;
  --ink:       #101c2b;
  --cream:     #f6f3ec;
  --cream-2:   #efe9dd;
  --sand:      #e4dccb;
  --copper:    #c0703c;
  --copper-d:  #a75c2c;
  --slate:     #5c6b7a;
  --line:      #d8d0c0;
  --white:     #ffffff;
  --shadow:    0 18px 45px rgba(20, 41, 63, 0.12);
  --shadow-sm: 0 8px 20px rgba(20, 41, 63, 0.08);
  --radius:    14px;
  --wrap:      1180px;
  --font-head: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; }

p { margin: 0 0 1rem; }
a { color: var(--copper-d); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--copper-d);
  margin: 0 0 .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--copper); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--copper-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1rem; letter-spacing: .01em; padding: 6px 0; position: relative;
}
.nav-links a:hover { text-decoration: none; color: var(--copper-d); }
.nav-links a.active { color: var(--copper-d); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--copper);
}
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 130% at 80% -10%, rgba(192,112,60,.20), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, #10202f 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .5; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 92px 0 96px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--copper); }
.hero-lead { font-size: 1.18rem; color: #d9e2ec; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badges span {
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: 7px 14px; color: #eaf0f6;
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(20,41,63,.05) 0 14px, rgba(20,41,63,.09) 14px 28px),
    var(--cream-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--slate); min-height: 220px; padding: 20px;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.09) 14px 28px),
    #1b3350;
  border-color: rgba(255,255,255,.14); color: #b9c6d4;
}
.ph-inner { max-width: 32ch; }
.ph .tag {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; font-weight: 700; color: var(--copper-d);
  display: inline-block; margin-bottom: 8px;
}
.ph .lbl { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.ph.dark .lbl { color: #fff; }
.ph .hint { font-size: .82rem; margin-top: 4px; }
.hero-ph { min-height: 420px; box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 60ch; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-cream2 { background: var(--cream-2); }
.bg-navy { background: var(--navy); color: #eaf0f6; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .eyebrow { color: #e6a877; }

.lead { font-size: 1.15rem; color: #35485c; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(192,112,60,.12); color: var(--copper-d); margin-bottom: 16px;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: #445569; margin: 0; }

/* trades list */
.trades {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px;
}
.trades li {
  list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; font-family: var(--font-head);
  font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.trades li::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--copper); flex: none;
}

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step .n {
  counter-increment: step; font-family: var(--font-head); font-weight: 800;
  font-size: 2.6rem; color: var(--copper); line-height: 1;
}
.step h3 { margin: 10px 0 6px; }
.step p { color: #445569; margin: 0; font-size: .96rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price .top { background: var(--navy); color: #fff; padding: 26px 30px; }
.price.featured .top { background: linear-gradient(150deg, var(--copper) 0%, var(--copper-d) 100%); }
.price .sqft { font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; opacity: .85; }
.price h3 { color: #fff; margin: 6px 0 2px; font-size: 1.5rem; }
.price .rooms { opacity: .9; font-size: .98rem; }
.price .body { padding: 26px 30px; }
.price .amt { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 2.6rem; line-height: 1; }
.price .amt small { font-size: .95rem; font-weight: 600; color: var(--slate); display: block; margin-top: 6px; letter-spacing: .02em; }
.price ul { list-style: none; margin: 20px 0 0; padding: 0; }
.price ul li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--cream-2); color: #3a4a5c; }
.price ul li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px;
  border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  transform: rotate(-45deg);
}
.price .foot { margin-top: auto; padding: 0 30px 30px; }

.note {
  background: #fff; border: 1px dashed var(--copper); border-radius: 12px;
  padding: 18px 22px; color: #3a4a5c; margin-top: 26px;
}
.note strong { color: var(--navy); }

/* ---------- Service area / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--copper); }
.stat p { margin: 0; color: #d9e2ec; }

.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.areas span {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; color: var(--navy);
}
.bg-navy .areas span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #eaf0f6; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse > .ph { order: 2; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 34px; color: #35485c; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 9px;
  border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta {
  background: radial-gradient(120% 140% at 15% 0%, rgba(192,112,60,.25), transparent 55%), var(--navy);
  color: #fff; border-radius: 22px; padding: 56px; text-align: center; box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta p { color: #d9e2ec; max-width: 52ch; margin: 0 auto 24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper); border-color: var(--copper); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(192,112,60,.12); color: var(--copper-d); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { font-family: var(--font-head); color: var(--navy); display: block; }
.info-list span { color: #445569; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c6d4; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 40px; margin-bottom: 16px; }
.site-footer h4 { font-family: var(--font-head); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin: 0 0 14px; }
.site-footer a { color: #cdd8e2; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8798a8; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 64px 0 70px; }
  .hero-ph { min-height: 300px; }
  .grid-3, .steps, .trades { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .split, .contact-grid, .stats { grid-template-columns: 1fr; }
  .split.reverse > .ph { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .trades { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
