/* Belshire Concrete Restoration - site styles
   Colors: logo red, charcoal, concrete gray. Phone-first; wider screens below in @media blocks. */

:root {
  --red: #d42a2a;
  --red-dark: #a91f1f;
  --charcoal: #1e2124;
  --charcoal-2: #2b2f33;
  --concrete: #eceae6;
  --concrete-2: #d9d6d0;
  --text: #24282b;
  --muted: #5d6368;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 20px rgba(0, 0, 0, .12);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Arial Black", "Segoe UI Black", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  padding-bottom: 64px; /* room for the phone call bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--charcoal); }
h1 { font-family: var(--head); font-size: clamp(1.9rem, 6vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-family: var(--head); font-size: clamp(1.5rem, 4.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.gray { background: var(--concrete); }
.section.dark { background: var(--charcoal); color: #e6e6e6; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .5em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section.dark .lead { color: #c9c9c9; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: var(--radius); font-weight: 700;
  text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; line-height: 1.2; font-family: var(--font);
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-2); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--charcoal); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo img { width: 118px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; color: var(--white); text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-phone:hover { color: #ffb3b3; }
.header-quote { display: none; padding: 10px 16px; }
.menu-btn {
  background: none; border: 2px solid #555c62; border-radius: var(--radius); color: var(--white);
  padding: 8px 12px; font-size: .95rem; font-weight: 700; cursor: pointer;
}
.site-nav { display: none; width: 100%; padding: 4px 0 16px; order: 3; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; color: #e8e8e8; text-decoration: none; padding: 11px 4px; font-weight: 600;
  border-bottom: 1px solid #33383d;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
.header-inner { flex-wrap: wrap; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--charcoal); overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero picture img, .hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,22,24,.92) 0%, rgba(20,22,24,.72) 55%, rgba(20,22,24,.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: #e2e2e2; }
.hero .lead a { color: var(--white); font-weight: 600; }
.hero.small .wrap { padding-top: 44px; padding-bottom: 44px; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 6px; }
.hero-points li::before { content: "\2713"; color: #ff6b6b; font-weight: 700; margin-right: 8px; }

/* Trust strip */
.trust { background: var(--red); color: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.trust li { margin: 0; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.trust strong { display: block; font-family: var(--head); font-size: 1.25rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); }
.card-link { margin-top: auto; font-weight: 700; color: var(--red-dark); }
a.card:hover .card-link { color: var(--red); text-decoration: underline; }
a.card:hover { transform: translateY(-2px); transition: transform .15s; }

/* Two columns */
.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 66px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: var(--white); font-weight: 800; display: grid; place-items: center;
}

/* Team */
.team { display: grid; gap: 20px; }
.person { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.person h3 { margin-bottom: .1em; }
.person .role { color: var(--muted); margin-bottom: .6em; }
.person a { display: block; font-weight: 600; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery figure { margin: 0; position: relative; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding: 6px 2px 0; line-height: 1.3; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter button {
  border: 2px solid var(--charcoal); background: var(--white); color: var(--charcoal); border-radius: 30px;
  padding: 8px 16px; font-weight: 700; cursor: pointer; font-size: .95rem;
}
.filter button[aria-pressed="true"] { background: var(--charcoal); color: var(--white); }
.lightbox {
  position: fixed; inset: 0; background: rgba(10, 10, 10, .93); z-index: 200; display: none;
  align-items: center; justify-content: center; flex-direction: column; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 4px; }
.lightbox p { color: #ddd; margin: 12px 0 0; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; font-size: 1.6rem;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
}
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; }
.lb-next { right: 10px; top: 50%; }

/* Areas */
.areas { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.areas li { background: var(--white); border: 1px solid var(--concrete-2); border-radius: 30px; padding: 6px 14px; margin: 0; font-weight: 600; }

/* CTA band */
.cta { background: var(--charcoal) url("../img/concrete-texture.jpg") center / cover; color: var(--white); position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(25, 27, 30, .86); }
.cta .wrap { position: relative; padding-top: 52px; padding-bottom: 52px; text-align: center; }
.cta h2 { color: var(--white); }
.cta .lead { color: #e2e2e2; }
.cta .btn-row { justify-content: center; }

/* Forms */
.quote-box { display: grid; gap: 30px; }
.contact-facts { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-facts li { margin-bottom: .8em; }
.contact-facts strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-facts a { font-size: 1.15rem; font-weight: 700; }
form.quote { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 14px; }
.section.gray form.quote, .section form.quote { border-top: 4px solid var(--red); }
.field label { display: block; font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px; border: 1px solid #b9b9b9; border-radius: var(--radius); font: inherit; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(212, 42, 42, .25); border-color: var(--red); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; gap: 14px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }

/* Placeholders that must be filled before launch (easy to spot in previews) */
.confirm { background: #fff3a8; outline: 2px dashed #c9a400; padding: 0 4px; color: #4a3d00; }

/* Footer */
.site-footer { background: #15171a; color: #bfc3c6; font-size: .95rem; }
.site-footer .wrap { padding-top: 44px; padding-bottom: 28px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h2 { color: var(--white); font-family: var(--font); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: #e6e6e6; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer address { font-style: normal; }
.footer-logo { width: 150px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #2c3034; margin-top: 30px; padding-top: 18px; font-size: .85rem; color: #8c9195; }

/* Sticky call bar (phones only) */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -2px 12px rgba(0,0,0,.25); }
.call-bar a { padding: 16px 8px; text-align: center; font-weight: 800; text-decoration: none; color: var(--white); font-size: 1.02rem; }
.call-bar .call { background: var(--red); }
.call-bar .quote-link { background: var(--charcoal); }

/* Wider screens */
@media (min-width: 600px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .section { padding: 80px 0; }
  .logo img { width: 150px; }
  .header-inner { flex-wrap: nowrap; min-height: 84px; }
  .menu-btn { display: none; }
  .site-nav { display: block; width: auto; padding: 0; order: 0; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { border: 0; padding: 8px 8px; font-size: .93rem; border-radius: 4px; white-space: nowrap; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); padding-left: 8px; border-radius: 0; }
  .header-quote { display: inline-block; white-space: nowrap; }
  .header-actions { order: 1; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.flip > :first-child { order: 2; }
  .quote-box { grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
  .hero .wrap { padding-top: 110px; padding-bottom: 110px; }
  .hero.small .wrap { padding-top: 70px; padding-bottom: 70px; }
}
@media (min-width: 1200px) {
  .header-phone { display: inline-block; }
  .site-nav a { padding: 8px 10px; font-size: .97rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
