/* Buildnex Construction Inc — company site draft. Black / orange / white. Not realtor branding. */

:root {
  --black: #0b0b0b;
  --ink: #161616;
  --muted: #5c5c5c;
  --line: #e2ddd6;
  --paper: #f3efe9;
  --white: #ffffff;
  --orange: #e26723;
  --orange-dark: #c24a12;
  --focus: #e26723;
  --radius: 6px;
  --wrap: 70rem;
  --header: 4.25rem;
  --sticky: 4.25rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--sticky);
}

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

a {
  color: var(--orange-dark);
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--black);
}

h1 {
  font-size: clamp(1.85rem, 6vw, 3.15rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--orange);
}

.header-inner {
  width: min(100% - 1rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  min-height: var(--header);
  padding: 0.4rem 0;
}

.logo-link {
  display: block;
  flex: 0 0 auto;
}

.logo-link img {
  width: 3.35rem;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--white);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--orange);
}

.header-call {
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn-call {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  font-size: 0.95rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
}

.btn-call:hover,
.btn-call:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.btn-block {
  width: 100%;
}

.hero {
  display: grid;
  background: var(--black);
  color: var(--white);
}

.hero-copy {
  padding: 1.75rem 1.25rem 2rem;
}

.hero .eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

.hero h1 {
  color: var(--white);
}

.hero .lead {
  font-size: 1.08rem;
  color: #ececec;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
}

.hero-media img,
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.service-reverse .service-media img {
  object-position: center 42%;
}

.hero-media img {
  position: absolute;
  inset: 0;
}

.band {
  padding: 2.5rem 0 2.75rem;
}

.band-dark {
  background: var(--black);
  color: var(--white);
}

.band-dark h2 {
  color: var(--white);
}

.band-paper {
  background: var(--paper);
}

.section-lead {
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
  max-width: 36rem;
}

.service {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.service-media {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 14rem;
  background: #d9d4cc;
}

.service-media img {
  min-height: 14rem;
  aspect-ratio: 4 / 3;
}

.service-copy h3 {
  color: var(--orange-dark);
}

.service-grid {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.service-grid li {
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--white);
}

.note {
  font-weight: 600;
}

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
}

.band-dark a {
  color: #ffb086;
}

.band-dark a:hover {
  color: var(--white);
}

.split {
  display: grid;
  gap: 1.25rem;
}

.muted {
  color: var(--muted);
}

.cta-card {
  background: var(--black);
  color: var(--white);
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--orange);
}

.cta-card a:not(.btn) {
  color: #ffb086;
}

.cta-card .btn {
  margin-top: 1rem;
}

.form-wrap {
  max-width: 38rem;
}

.form-intro {
  margin-bottom: 1.35rem;
}

.eval-form {
  display: grid;
  gap: 1rem;
}

.field label,
.field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field legend {
  padding: 0;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c8c2ba;
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--orange);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.choices {
  display: grid;
  gap: 0.45rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--orange);
  box-shadow: inset 3px 0 0 var(--orange);
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--orange-dark);
}

.form-success {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  padding: 1.2rem 1.15rem;
  font-weight: 600;
}

.form-success a {
  font-weight: 800;
}

.site-footer {
  background: var(--black);
  color: #d8d8d8;
  padding: 2rem 0 calc(1.5rem + var(--sticky));
  text-align: center;
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 4.5rem;
  margin-inline: auto;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--black);
  border-top: 2px solid var(--orange);
}

@media (min-width: 700px) {
  body {
    padding-bottom: 0;
  }

  .sticky-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 2rem;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 32rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem 3rem 0;
    width: min(100% - 1.5rem, calc(var(--wrap) / 2 + 2rem));
    margin-left: auto;
  }

  .hero-media {
    min-height: 100%;
  }

  .service.service-photo {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1.75rem;
  }

  .service-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-reverse .service-media {
    order: 2;
  }

  .service-media,
  .service-media img {
    min-height: 18rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 2rem;
  }

  .choices {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .header-inner {
    gap: 1.5rem;
  }

  .nav {
    gap: 1.5rem;
    font-size: 1rem;
  }

  .hero-copy {
    padding-right: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-launcher {
  position: fixed;
  z-index: 80;
  right: 0.85rem;
  bottom: calc(var(--sticky) + 0.7rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.35rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--orange-dark);
  color: var(--white);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
  background: var(--black);
  border-color: var(--orange);
  color: var(--white);
}

.chat-launcher-icon {
  flex: 0 0 auto;
  display: block;
}

.chat-panel {
  display: none;
  position: fixed;
  z-index: 85;
  right: 0.75rem;
  bottom: calc(var(--sticky) + 4.4rem);
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(34rem, calc(100dvh - var(--header) - var(--sticky) - 5.5rem));
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.chat-widget.is-open .chat-panel {
  display: flex;
}

.chat-widget.is-open .chat-launcher {
  display: none;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.75rem 0.7rem 0.85rem;
  background: var(--black);
  color: var(--white);
}

.chat-header img {
  width: 2.5rem;
  height: auto;
  flex: 0 0 auto;
}

.chat-header-text {
  min-width: 0;
  flex: 1;
}

.chat-header-text p {
  margin: 0;
}

#chat-title {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.chat-header-sub {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-close {
  flex: 0 0 auto;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.35rem 0.6rem;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.chat-close:hover,
.chat-close:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.chat-log {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 8rem;
  padding: 0.9rem 0.85rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-msg {
  max-width: 92%;
}

.chat-msg p {
  margin: 0 0 0.45rem;
}

.chat-msg p:last-child {
  margin-bottom: 0;
}

.chat-msg-bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
}

.chat-msg-user {
  align-self: flex-end;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
}

.chat-msg-bot a {
  font-weight: 800;
  color: var(--orange-dark);
}

.chat-msg-bot a:hover {
  color: var(--black);
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem 0.7rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-chip {
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.chat-chip:hover,
.chat-chip:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.chat-composer {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-composer input {
  flex: 1;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #c8c2ba;
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.chat-composer input:focus-visible {
  border-color: var(--orange);
}

.chat-composer button {
  flex: 0 0 auto;
  min-height: 2.85rem;
  min-width: 4.25rem;
  padding: 0.45rem 0.85rem;
  border: 2px solid var(--orange-dark);
  border-radius: var(--radius);
  background: var(--orange-dark);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.chat-composer button:hover,
.chat-composer button:focus-visible {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

@media (max-width: 699px) {
  body {
    padding-bottom: calc(var(--sticky) + 4.6rem);
  }

  .site-footer {
    padding-bottom: calc(1.5rem + var(--sticky) + 4.6rem);
  }

  body.chat-open {
    padding-bottom: 0;
  }

  body.chat-open .sticky-call {
    display: none;
  }

  body.chat-open .chat-panel {
    right: 0.55rem;
    left: 0.55rem;
    bottom: 0.55rem;
    width: auto;
    max-height: calc(100dvh - var(--header) - 1rem);
  }
}

@media (min-width: 700px) {
  .site-footer {
    padding-bottom: 5.5rem;
  }

  .chat-launcher {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .chat-panel {
    right: 1.25rem;
    bottom: 1.25rem;
    max-height: min(36rem, calc(100dvh - 2.5rem));
  }
}


.work-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.work-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
}

.work-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.work-grid figcaption {
  padding: 0.7rem 0.85rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

@media (min-width: 700px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hp{position:absolute;left:-9999px;height:0;width:0;opacity:0;}


/* Bold contact band + clickable QR */
.contact-band {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0;
}
.contact-band-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .contact-band-inner {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.contact-band .eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}
.contact-band h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-name,
.contact-phone,
.contact-web,
.contact-email,
.contact-area {
  margin: 0.35rem 0;
  font-size: 1.15rem;
}
.contact-phone a,
.contact-web a,
.contact-email a {
  color: var(--orange);
  text-decoration: none;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
}
.contact-phone a:hover,
.contact-web a:hover,
.contact-email a:hover {
  color: var(--white);
}
.contact-area {
  color: #ddd;
  margin-top: 0.75rem;
}
.contact-actions {
  margin-top: 1.25rem;
}
.contact-band .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.contact-qr {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--ink);
}
.qr-link {
  display: inline-block;
}
.qr-link img {
  margin: 0 auto;
  width: min(220px, 70vw);
  height: auto;
}
.qr-caption {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}
.footer-phone a,
.footer-web a,
.footer-email a {
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}
.footer-phone a {
  color: var(--orange-dark);
  font-size: 1.45rem;
}
.footer-qr-link {
  display: inline-block;
  margin-top: 1rem;
}
.footer-qr {
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}
