/* Black and red from the Moy's Concrete Inc logo. The page is mostly black, white
   and gray; red is kept for small accents: the main buttons, the diamonds and stars. */
:root {
  color-scheme: dark;
  --black: #000;
  --bg-2: #0c0c0d;
  --panel: #151517;
  --line: #2b2c30;
  --line-2: #45474d;
  --text: #ececee;
  --muted: #a3a5ab;
  --soft: #c9cbd0;
  --red: #c40d1e;
  --red-hover: #a50a18;
  --red-text: #ff4a5a;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --label: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--black); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; color: #fff; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h3 { font: 800 1.08rem/1.25 var(--label); letter-spacing: .06em; text-transform: uppercase; margin: 0; color: #fff; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }

/* Second half of a headline, in soft gray rather than red */
.accent { color: var(--soft); }

/* The small red diamond from the logo marks every section label. */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 800 .8rem/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.eyebrow::before { content: ''; flex: none; width: 9px; height: 9px; border: 2px solid var(--red); transform: rotate(45deg); }

/* Buttons echo the logo's banner: a solid bar with a thin outline around it. */
.btn { display: inline-block; background: var(--red); color: #fff; border: 0; margin: 4px; padding: 15px 26px; font: 800 .95rem/1.2 var(--label); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--line-2); transition: background .15s; }
.btn:hover { background: var(--red-hover); }
.btn-small { padding: 11px 16px; font-size: .78rem; white-space: nowrap; }
.btn-plain { background: transparent; color: #fff; box-shadow: 0 0 0 2px var(--soft); }
.btn-plain:hover { background: #1c1c1f; }
.btn-full { display: block; width: calc(100% - 8px); font-size: 1rem; padding: 17px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .94); border-bottom: 1px solid var(--line-2); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 92px; padding: 6px 0; }
.brand img { width: 86px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font: 700 .82rem var(--label); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.nav a:hover { color: #fff; }
.top-phone { font: 800 1rem var(--label); text-decoration: none; white-space: nowrap; color: #fff; }
.top-phone:hover { color: var(--soft); }

/* Hero */
.hero { background: var(--black); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 450px); gap: 56px; align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5rem); font-weight: 900; line-height: 1.04; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); max-width: 32em; margin: 22px 0 30px; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.hero-logo { width: 100%; height: auto; }

/* Fact strip: framed like the logo's banner, in black and gray */
.facts { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 0; }
.facts-grid > div { padding: 18px 22px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 800 1.02rem/1.25 var(--label); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.facts span { font-size: .9rem; color: var(--muted); }
.fact-rating strong { font: 900 2rem/1 var(--display); letter-spacing: 0; }
.fact-rating strong i { font: 400 1.02rem/1 var(--body); color: var(--red-text); letter-spacing: .06em; margin-left: 6px; }

/* Sections */
.section { padding: clamp(60px, 8.5vw, 100px) 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 38px; max-width: 760px; }

.service-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-group h3.group-title { font: 800 1.9rem/1.1 var(--display); letter-spacing: 0; text-transform: none; padding-bottom: 14px; border-bottom: 2px solid var(--line-2); }
.services { list-style: none; margin: 0; padding: 0; counter-reset: svc; }
.services li { counter-increment: svc; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.services li::before { content: counter(svc, decimal-leading-zero); grid-row: span 2; font: 800 1.35rem/1.1 var(--display); color: #6f7279; }
.services h4 { font: 800 1rem/1.3 var(--label); letter-spacing: .05em; text-transform: uppercase; margin: 0; color: #fff; }
.services p { margin: 0; color: var(--muted); }

.slab-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.slab-grid h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.slab-grid p { color: var(--soft); }
.section-diagram { margin: 0; border: 1px solid var(--line-2); background: #111113; }
.section-diagram svg { display: block; width: 100%; height: auto; }
.dg-soil { fill: #1d1e21; }
.dg-base { fill: #3a3c42; }
.dg-slab { fill: #6a6d74; }
.dg-finish { fill: #b9bcc3; }
.dg-stones circle { fill: #5c5f66; }
.dg-rebar line { stroke: #d24452; stroke-width: 3; stroke-dasharray: 2 8; }
.dg-rebar circle { fill: var(--red); }
.dg-joint { fill: #000; }
.dg-label text { font: 600 15px var(--body); fill: #f1f2f4; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo { margin: 0; }
/* A little extra brightness, contrast and color so the job photos pop on black */
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--panel); filter: brightness(1.1) contrast(1.08) saturate(1.18); }
.photo figcaption { font-size: .9rem; color: var(--muted); padding: 8px 2px 0; }
.gallery-link { margin: 24px 0 0; font-weight: 600; }
.gallery-link a { color: #fff; text-decoration-color: var(--red); text-underline-offset: 4px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 78px; min-height: 60px; }
.steps li::before { content: ''; position: absolute; left: 8px; top: 6px; width: 40px; height: 40px; border: 2px solid var(--line-2); transform: rotate(45deg); }
.steps li::after { content: counter(step); position: absolute; left: 8px; top: 6px; width: 44px; line-height: 44px; text-align: center; font: 800 1.35rem/44px var(--display); color: #fff; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--panel); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; }
.stars { letter-spacing: .08em; }
.review .stars { color: var(--red-text); margin-bottom: 8px; }
.review h3 { font-size: .95rem; margin-bottom: 10px; }
.review-text { flex: 1; color: #d6d8dc; }
.review-source { font-size: .86rem; color: var(--muted); margin: 0; }

/* Booking */
.book { background: var(--bg-2); padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.book-copy h2 { font-size: clamp(2.7rem, 5.6vw, 4.2rem); font-weight: 900; margin-bottom: 20px; }
.book-copy p { color: var(--soft); }
.book-phone a { color: #fff; font: 800 1.2rem var(--label); white-space: nowrap; }
.form, .form-done { background: var(--panel); color: var(--text); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-2); }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 15px; color: #fff; }
.optional { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font: 400 1rem var(--body); color: #fff; background: #09090a; border: 1.5px solid #4a4d55; border-radius: 0; }
.form input::placeholder, .form textarea::placeholder { color: #6f727a; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--soft); outline-offset: 0; border-color: var(--soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-error { background: #2a0006; color: #ffb3ba; border-left: 4px solid var(--red-text); padding: 10px 12px; font-weight: 600; font-size: .95rem; }
.form-done h3 { font: 800 2.1rem/1.1 var(--display); letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
.form-done p { margin: 0; }

.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { font-weight: 700; font-size: 1.1rem; cursor: pointer; color: #fff; }
.faq summary::marker { color: var(--muted); }
.faq p { margin: 10px 0 2px; color: var(--muted); }
.faq a { color: #fff; }

.footer { background: var(--black); color: var(--muted); padding: 40px 0 44px; font-size: .95rem; border-top: 1px solid var(--line-2); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-logo { width: 110px; height: auto; flex: none; }
.footer p { margin: 0 0 4px; }
.footer a:hover { color: #fff; }
.footer-name { font: 800 1.3rem/1.2 var(--display); color: #fff; }
.mobile-cta { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .top-phone { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { order: -1; justify-self: center; width: min(300px, 76%); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { padding: 14px 14px 14px 0; border-left: 0; }
  .service-groups { grid-template-columns: 1fr; gap: 40px; }
  .slab-grid, .book-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .reviews { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 90px; }
  body { padding-bottom: 58px; }
  .btn-small { display: none; }
  .brand img { width: 72px; }
  .top-row { gap: 12px; min-height: 76px; }
  .hero-actions .btn { display: block; width: calc(100% - 8px); text-align: center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .dg-label text { font-size: 19px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--red); color: #fff; text-align: center; font: 800 .9rem var(--label); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 17px 12px; border-top: 1px solid #000; }
}

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