:root {
  --ink: #171a1d;
  --muted: #5c6269;
  --line: #d9dde2;
  --paper: #ffffff;
  --soft: #f3f5f7;
  --navy: #112338;
  --navy-2: #1b334e;
  --accent: #f4b223;
  --accent-dark: #b56f00;
  --shadow: 0 18px 45px rgba(17, 35, 56, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 5vw;
  color: #ffffff;
  background: rgba(17, 26, 34, 0.5);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 11px;
  padding-bottom: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 20px rgba(17, 35, 56, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
}

.brand-logo {
  width: 56px;
  height: 56px;
  padding: 4px;
  object-fit: contain;
  border-radius: 6px;
  background: #111a22;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  font-size: 12px;
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--accent);
  transition: width 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: currentColor;
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 120px 5vw 72px;
  color: #ffffff;
  background-image: url("assets/bk-builders-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 26, 34, 0.9) 0%, rgba(17, 26, 34, 0.72) 36%, rgba(17, 26, 34, 0.2) 72%, rgba(17, 26, 34, 0.34) 100%),
    linear-gradient(0deg, rgba(17, 26, 34, 0.24), rgba(17, 26, 34, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.hero-logo {
  width: min(300px, 78vw);
  margin-bottom: 22px;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: 64px;
  font-weight: 900;
}

.hero-lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.service-area-line {
  max-width: 650px;
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 800;
}

.hero-actions,
.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd05f;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: #ffffff;
  background: var(--navy);
}

.trust-strip {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -34px auto 0;
  padding: 0 5vw;
  position: relative;
  z-index: 3;
}

.trust-strip div {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
}

.section {
  padding: 92px 5vw;
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: 38px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.about-grid,
.contact-layout,
.why-layout {
  display: grid;
  max-width: var(--max);
  grid-template-columns: 1fr 0.84fr;
  gap: 50px;
  margin: 42px auto 0;
  align-items: start;
}

.about-section > .section-heading,
.gallery-section > .section-heading {
  max-width: var(--max);
  margin: 0 auto;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 800;
  border-bottom: 3px solid var(--accent);
}

.about-panel {
  padding: 30px;
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  background: var(--soft);
}

.about-panel h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.about-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.about-panel li:first-child {
  border-top: 0;
}

.about-panel li::before {
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--accent);
  border-radius: 3px;
}

.services-section {
  background: var(--soft);
}

.services-grid {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px auto 0;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 35, 56, 0.08);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 6px;
  font-weight: 900;
}

.service-card h3 {
  font-size: 22px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-action {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.gallery-grid {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px auto 0;
}

.gallery-card {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(17, 35, 56, 0.2);
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(17, 26, 34, 0.82), rgba(17, 26, 34, 0.05) 58%);
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: #ffffff;
}

.gallery-card span {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.gallery-card h3 {
  max-width: 340px;
  margin-top: 8px;
  font-size: 25px;
}

.gallery-card p {
  display: inline-flex;
  margin: 14px 0 0;
  color: #ffffff;
  font-weight: 900;
  border-bottom: 3px solid var(--accent);
}

.project-hero {
  padding: 140px 5vw 64px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 35, 56, 0.96), rgba(27, 51, 78, 0.96)),
    var(--navy);
}

.project-hero h1,
.project-hero p {
  max-width: 820px;
}

.project-hero h1 {
  font-size: 52px;
}

.project-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.logo-project-hero {
  padding-top: 126px;
}

.project-logo {
  width: min(340px, 82vw);
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.photo-page-section {
  background: var(--soft);
}

.project-gallery-block {
  max-width: var(--max);
  margin: 0 auto 58px;
}

.project-gallery-block:last-child {
  margin-bottom: 0;
}

.project-gallery-block .section-heading {
  margin-bottom: 24px;
}

.photo-page-grid {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.photo-page-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(17, 35, 56, 0.1);
}

.photo-page-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-page-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--ink);
  font-weight: 900;
}

.featured-grid {
  grid-template-columns: repeat(2, 1fr);
}

.featured-grid figure:first-child {
  grid-column: span 2;
}

.reviews-section {
  background: var(--soft);
}

.reviews-layout {
  display: grid;
  max-width: var(--max);
  grid-template-columns: 1fr 280px;
  gap: 34px;
  margin: 0 auto;
  align-items: end;
}

.review-actions {
  margin-top: 22px;
}

.rating-panel {
  padding: 26px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.rating-panel strong,
.rating-panel span {
  display: block;
}

.rating-panel strong {
  color: var(--accent);
  font-size: 56px;
  line-height: 1;
}

.rating-panel span {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
}

.rating-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.reviews-grid {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px auto 0;
}

.review-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 35, 56, 0.08);
}

.stars {
  color: var(--accent-dark);
  font-size: 20px;
  letter-spacing: 0;
}

.review-card h3 {
  margin-top: 16px;
  font-size: 20px;
}

.review-card p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.review-card span {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.leave-review {
  display: grid;
  max-width: var(--max);
  grid-template-columns: 0.75fr 1fr;
  gap: 32px;
  margin: 36px auto 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.leave-review h3 {
  font-size: 28px;
}

.leave-review p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid #c4cad1;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
}

.review-form textarea {
  resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: 3px solid rgba(244, 178, 35, 0.35);
  border-color: var(--accent-dark);
}

.why-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 35, 56, 0.96), rgba(27, 51, 78, 0.96)),
    var(--navy);
}

.why-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.why-layout {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 0;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  color: var(--accent);
  font-size: 18px;
}

.why-list span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
}

.quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 5vw;
  color: var(--ink);
  background: var(--accent);
}

.quote-band div {
  max-width: var(--max);
}

.quote-band h2 {
  font-size: 31px;
}

.quote-band p {
  margin: 8px 0 0;
  color: #4d3700;
  font-size: 18px;
}

.contact-section {
  background: #ffffff;
}

.contact-layout {
  grid-template-columns: 0.82fr 1fr;
  margin-top: 0;
}

.contact-copy h2 {
  font-size: 38px;
}

.contact-copy > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-details a,
.contact-details div {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-details .whatsapp-contact {
  color: #ffffff;
  background: #128c4a;
  border-color: #128c4a;
}

.contact-details .whatsapp-contact span {
  color: rgba(255, 255, 255, 0.8);
}

.contact-details span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.contact-details strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.contact-details .service-area-text {
  line-height: 1.45;
  font-size: 17px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c4cad1;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(244, 178, 35, 0.35);
  border-color: var(--accent-dark);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: #ffffff;
  background: #111a22;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--accent);
  font-weight: 900;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #ffffff !important;
  background: #128c4a;
}

.whatsapp-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 140px 5vw 84px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: 46px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
}

.legal-page a {
  color: var(--navy);
  font-weight: 900;
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 5vw;
    left: 5vw;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .page-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    padding: 12px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .trust-strip,
  .services-grid,
  .gallery-grid,
  .reviews-layout,
  .reviews-grid,
  .leave-review,
  .photo-page-grid,
  .about-grid,
  .contact-layout,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 0;
  }

  .gallery-card {
    min-height: 300px;
  }

  .featured-grid figure:first-child {
    grid-column: auto;
  }

  .quote-band {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-actions,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 48px;
    height: 38px;
  }

  .hero {
    min-height: 80svh;
    padding: 110px 20px 52px;
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 26, 34, 0.94), rgba(17, 26, 34, 0.7)),
      linear-gradient(0deg, rgba(17, 26, 34, 0.22), rgba(17, 26, 34, 0.14));
  }

  h1 {
    font-size: 40px;
  }

  .project-hero {
    padding: 118px 20px 48px;
  }

  .project-hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 66px 20px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 30px;
  }

  .services-grid,
  .gallery-grid,
  .reviews-grid,
  .why-list {
    gap: 14px;
  }

  .service-card,
  .about-panel,
  .contact-form {
    padding: 22px;
  }

  .trust-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .trust-strip div {
    padding: 20px;
  }

  .quote-band {
    padding: 34px 20px;
  }

  .quote-band h2 {
    font-size: 26px;
  }

  .site-footer {
    display: grid;
    padding: 26px 20px;
  }
}


