/* =========================================================
   CORE Construction Services: site styles
   Brand colors live here. Change them once and the whole site updates.
   ========================================================= */
:root {
  --ink: #111111;        /* near-black, from the logos */
  --ink-2: #1c1c1c;
  --orange: #F47C20;     /* logo orange, used for buttons and accents */
  --orange-dark: #d9680f;
  --paper: #ffffff;
  --sand: #f4f1ec;       /* warm off-white for light sections */
  --stone: #6b6862;      /* neutral gray for small text */
  --line: #e2ddd5;

  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1160px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--orange);
  margin-bottom: .75rem;
}
.eyebrow.dark { color: var(--stone); }
.lead { font-size: 1.2rem; max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.1rem;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  text-align: center;
}
.btn-sm { padding: .5rem 1rem; font-size: 1rem; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-text { font-family: var(--head); font-weight: 700; font-size: 1.55rem; letter-spacing: .03em; line-height: 1; }
.brand-text span { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .16em; color: var(--stone); margin-top: .2rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; text-decoration: none; font-size: 1.05rem;
}
.site-nav a:not(.btn):hover { color: var(--orange-dark); }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.menu-toggle .bar { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.contours { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .07; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { color: #d8d4cd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.4rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.hero-links a {
  font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; color: var(--orange); border-bottom: 2px solid transparent;
}
.hero-links a:hover { border-color: var(--orange); }
.hero-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.logo-badge { background: #fff; border-radius: 50%; padding: 6%; aspect-ratio: 1; display: grid; place-items: center; transition: transform .2s; }
.logo-badge:hover { transform: translateY(-4px); }
.logo-badge:nth-child(2) { margin-top: 3.5rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--orange); color: var(--ink); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1rem 0; }
.trust p {
  margin: 0; font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: 1.05rem;
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-dark { background: var(--ink-2); color: #fff; }
.section-dark p { color: #d8d4cd; }
.section-light { background: var(--sand); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-head { position: sticky; top: 110px; }
.division-logo { width: 150px; height: 150px; margin-bottom: 1.5rem; }
.section-dark .division-logo { background: #fff; border-radius: 50%; padding: 6px; }

.service-list { display: grid; gap: 1rem; }
.service {
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem .6rem;
  background: #fff;
}
.section-dark .service { background: #252525; border-color: #333; border-left-color: var(--orange); }
.service-feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-feature p { color: #d8d4cd; }
.tag {
  display: inline-block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: .85rem; background: var(--orange); color: var(--ink) !important; padding: .15rem .6rem; border-radius: 3px; margin-bottom: .7rem;
}
.also { font-style: italic; margin-top: .5rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem 1rem; border-top: 5px solid var(--ink); }
.step-num { font-family: var(--head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--orange); display: block; margin-bottom: .6rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .95rem; color: var(--stone); margin-top: .4rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-photos figure { margin: 0; }
.about-photos figure:nth-child(2) { margin-top: 3rem; }
.about-photos img, .photo-placeholder { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.photo-placeholder {
  display: grid; place-items: center; text-align: center;
  background: var(--sand) repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.035) 14px 28px);
  border: 2px dashed var(--line); color: var(--stone);
  font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
}
.about-photos figcaption { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: .6rem; }

/* ---------- Reviews ---------- */
.reviews p { max-width: 34em; margin-inline: auto; }
.social-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.8rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: #1f1f1f; border: 1px solid #333; border-left: 5px solid var(--orange);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; transition: background .15s;
}
.contact-card:hover { background: #2a2a2a; }
.contact-card .label { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); font-size: .95rem; }
.contact-card .value { font-family: var(--head); font-weight: 700; font-size: 1.9rem; letter-spacing: .02em; color: #fff; }
.contact-card .value-email { font-size: 1.35rem; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0a; color: #bdb8b0; padding: 3rem 0 1.5rem; font-size: .98rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-name { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin: 0 0 .4rem; }
.copyright { border-top: 1px solid #222; margin-top: 2rem; padding-top: 1.2rem; font-size: .9rem; }

/* ---------- Phone bottom bar ---------- */
.mobile-bar { display: none; }

/* =========================================================
   Tablets & phones
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner, .split, .about, .contact-inner { grid-template-columns: 1fr; }
  .hero-logos { max-width: 420px; }
  .split-head { position: static; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 64px; } /* room for the bottom bar */
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
  .brand-text span { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .logo-badge:nth-child(2) { margin-top: 2rem; }
  .trust-inner { justify-content: center; text-align: center; }
  .trust p { font-size: .95rem; }
  .about-photos figure:nth-child(2) { margin-top: 1.5rem; }

  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--ink); border-top: 3px solid var(--orange);
  }
  .mobile-bar a {
    text-align: center; padding: 1rem 0; text-decoration: none; color: #fff;
    font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1.1rem;
  }
  .mobile-bar a:first-child { background: var(--orange); color: var(--ink); }
  .mobile-bar a + a { border-left: 1px solid #333; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
