/*
Theme Name: Rapid-Crete Pumping
Theme URI: https://rapidcretepumping.com/
Author: Rapid-Crete Pumping
Description: A bold, mobile-first landing page for Rapid-Crete Pumping with equipment, rates, service area, and direct contact information.
Version: 2.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rapidcrete-pumping
*/

:root {
  --ink: #0a0b0b;
  --charcoal: #151717;
  --paper: #f2efe8;
  --paper-deep: #e6e1d8;
  --silver: #c7c9c8;
  --muted: #6d716f;
  --line: rgba(10, 11, 11, 0.14);
  --red: #d73932;
  --green: #2d774d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
figure { margin: 0; }
.site-shell { min-width: 320px; overflow: hidden; }
.screen-reader-text {
  position: absolute;
  z-index: 9999;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: white;
  color: var(--ink);
}

.top-call-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 4vw;
  background: var(--red);
  color: white;
  font-size: 0.84rem;
  letter-spacing: 0.035em;
}
.top-call-bar > * { padding: 0 13px; }
.top-call-bar > * + * { border-left: 1px solid rgba(255,255,255,0.42); }
.top-call-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.top-call-bar strong { font-size: 0.92rem; }
.top-call-bar a {
  font-size: 1.04rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(200px, 1fr);
  align-items: center;
  min-height: 82px;
  padding: 0 4vw;
  background: var(--ink);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.brand img, .custom-logo, .footer-brand img { width: 188px; height: auto; }
.brand .custom-logo-link { display: inline-block; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-header nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-color: var(--silver); }
.header-call {
  justify-self: end;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.header-call span {
  display: block;
  margin-bottom: 3px;
  color: #aeb3b1;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(400px, 0.92fr) minmax(540px, 1.08fr);
  min-height: calc(100svh - 128px);
  background: var(--ink);
  color: white;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 5vw, 90px) clamp(34px, 5.5vw, 88px);
  background: linear-gradient(110deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 30px), var(--ink);
}
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: #9da2a0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 30px; height: 3px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(4rem, 6.6vw, 7.6rem);
  line-height: 0.83;
  text-transform: uppercase;
}
.hero-lede {
  max-width: 590px;
  margin-bottom: 23px;
  color: #c6cac8;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
}
.hero-contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  max-width: 570px;
  margin-bottom: 20px;
  padding: 13px 16px;
  border-left: 5px solid var(--red);
  background: rgba(255,255,255,0.07);
}
.hero-contact-card p {
  margin: 0;
  color: #aeb3b1;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-contact-card strong { font-size: 0.9rem; }
.hero-contact-card a { font-size: 1.06rem; font-weight: 900; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.button:hover, .button:focus-visible, .text-link:hover, .text-link:focus-visible { transform: translateY(-2px); }
.button-primary { background: white; color: var(--ink); }
.button-ghost { border-color: rgba(255, 255, 255, 0.34); color: white; }
.button-light { background: var(--paper); color: var(--ink); }
.rate-glance {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  align-items: end;
  gap: 20px;
  margin-top: clamp(24px, 3vh, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.rate-glance > p {
  align-self: center;
  margin: 0;
  color: #858a88;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rate-glance div { display: flex; flex-direction: column; min-width: 82px; }
.rate-glance strong { font-size: 1.4rem; }
.rate-glance span { color: #939896; font-size: 0.6rem; line-height: 1.4; }

.hero-collage {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 620px;
  background: #2a2d2c;
}
.hero-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.hero-photo-main { grid-row: 1 / span 2; }
.hero-photo img, .service-image img, .proof-section > img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main img { object-position: center; }
.hero-photo-secondary img { object-position: center 58%; }
.hero-photo-tertiary img { object-position: center 55%; }
.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,0.76));
  pointer-events: none;
}
.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-photo figcaption span { color: white; font-size: 1.1rem; }

.rates-section, .services-section { padding: clamp(78px, 9vw, 132px) clamp(26px, 6vw, 96px); }
.rates-section { background: var(--paper); }
.services-section { background: white; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 60px;
  max-width: 1420px;
  margin: 0 auto 52px;
}
.section-heading h2, .proof-copy h2, .coverage-section h2, .contact-section h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.section-heading > p { margin-bottom: 4px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.rates-heading h2 { font-size: clamp(3rem, 5.2vw, 5.9rem); }
.rate-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1420px;
  margin: 0 auto;
  border: 1px solid var(--ink);
}
.rate-card {
  position: relative;
  min-height: 380px;
  padding: clamp(25px, 3vw, 42px);
  background: #f8f6f1;
  border-right: 1px solid var(--ink);
}
.rate-card:last-child { border-right: 0; }
.rate-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background: var(--silver);
}
.rate-card.red::before { background: var(--red); }
.rate-card.green::before { background: var(--green); }
.rate-card-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.rate-card-top p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.rate-card-top span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.reach { min-height: 50px; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.hourly { display: flex; align-items: baseline; gap: 7px; margin: 24px 0 34px; }
.hourly strong {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(4.6rem, 7vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.075em;
}
.hourly span { color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.rate-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rate-card li {
  padding: 8px 10px;
  background: var(--paper-deep);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}
.rate-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1420px;
  margin: 0 auto;
  background: var(--charcoal);
  color: white;
}
.rate-details > div, .rate-details details { padding: 28px clamp(24px, 3vw, 40px); border-right: 1px solid rgba(255,255,255,0.14); }
.rate-details p { margin-bottom: 0; color: #b6bab8; font-size: 0.85rem; line-height: 1.7; }
.rate-details strong { color: white; }
.detail-label {
  margin-bottom: 8px !important;
  color: white !important;
  font-size: 0.62rem !important;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rate-details details { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.14); border-right: 0; }
.rate-details summary {
  cursor: pointer;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rate-details details p { max-width: 980px; margin-top: 16px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1420px; margin: 0 auto; }
.service-card { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.service-image { position: relative; height: clamp(250px, 30vw, 440px); overflow: hidden; background: #d7d8d5; }
.service-image img { transition: transform 500ms ease; }
.service-card:hover .service-image img { transform: scale(1.025); }
.service-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
}
.service-card.red .service-image span { background: var(--red); }
.service-card.green .service-image span { background: var(--green); }
.service-copy { min-height: 190px; padding: 27px; }
.service-copy h3 { margin-bottom: 13px; font-size: 2rem; text-transform: uppercase; }
.service-copy p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.62; }

.proof-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 680px;
  background: var(--charcoal);
  color: white;
}
.proof-section > img { min-height: 520px; }
.proof-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 8vw, 120px); }
.proof-copy h2 { margin-bottom: 28px; font-size: clamp(3.3rem, 5vw, 6rem); }
.proof-copy > p:not(.section-kicker) { max-width: 520px; color: #b6bab8; font-size: 1rem; line-height: 1.68; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  align-self: flex-start;
  margin-top: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 160ms ease;
}
.coverage-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
  padding: clamp(80px, 10vw, 150px) clamp(26px, 7vw, 120px);
  background: var(--paper);
}
.coverage-section h2 { font-size: clamp(3.2rem, 5vw, 6rem); }
.coverage-section ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}
.coverage-section li {
  padding: 20px 10px;
  border-bottom: 1px solid var(--ink);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
}
.coverage-section li:nth-child(odd) { border-right: 1px solid var(--ink); }
.coverage-section li:nth-child(even) { padding-left: 24px; }

.contact-section {
  position: relative;
  padding: clamp(86px, 11vw, 170px) clamp(26px, 9vw, 150px);
  background: linear-gradient(90deg, rgba(215,57,50,0.9), rgba(155,36,32,0.96)), var(--red);
  color: white;
}
.contact-section::after {
  position: absolute;
  top: -90px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  content: "";
}
.contact-section .section-kicker { color: rgba(255,255,255,0.75); }
.contact-section h2 { position: relative; z-index: 1; max-width: 1050px; margin-bottom: 26px; }
.contact-section > p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  max-width: 630px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.65;
}
.contact-actions { position: relative; z-index: 1; align-items: stretch; margin-top: 38px; }
.contact-phone { padding: 13px 28px; background: var(--ink); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 900; }
.contact-phone span {
  display: block;
  margin-bottom: 4px;
  color: #aaaead;
  font-size: 0.59rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 30px;
  min-height: 140px;
  padding: 32px 5vw;
  background: var(--ink);
  color: #888e8b;
  font-size: 0.72rem;
}
.site-footer p { margin: 0; }
.site-footer > a:not(.footer-brand) { color: #b8bcba; }

.content-page { min-height: 70vh; padding: 90px 24px; background: var(--paper); }
.content-wrap { width: min(860px, 100%); margin: 0 auto; font-size: 1rem; line-height: 1.75; }
.content-wrap h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; text-transform: uppercase; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 0.9fr 1.1fr; }
  .hero-copy { padding-inline: 34px; }
  .hero-contact-card { grid-template-columns: 1fr auto; }
  .hero-contact-card p { grid-column: 1 / -1; }
  .rate-glance { grid-template-columns: repeat(3, 1fr); }
  .rate-glance > p { grid-column: 1 / -1; }
  .hourly strong { font-size: 4.6rem; }
  .proof-section { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .top-call-bar { min-height: 52px; flex-wrap: wrap; row-gap: 3px; }
  .site-header { min-height: 72px; padding-inline: 20px; }
  .brand img, .custom-logo { width: 150px; }
  .header-call { font-size: 0.88rem; }
  .hero { display: flex; min-height: auto; flex-direction: column; }
  .hero-copy { min-height: 670px; padding: 58px 25px 42px; }
  h1 { font-size: clamp(4rem, 17vw, 6.6rem); }
  .hero-collage { min-height: 460px; }
  .section-heading, .coverage-section, .proof-section { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .rate-cards, .service-grid { grid-template-columns: 1fr; }
  .rate-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .rate-card:last-child { border-bottom: 0; }
  .hourly strong { font-size: 5.7rem; }
  .rate-details { grid-template-columns: 1fr; }
  .rate-details > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .rate-details details { grid-column: auto; }
  .service-image { height: 390px; }
  .proof-section > img { min-height: 460px; }
  .coverage-section { gap: 42px; }
}

@media (max-width: 520px) {
  .top-call-bar { justify-content: center; padding-inline: 8px; font-size: 0.76rem; }
  .top-call-bar > * { padding-inline: 7px; }
  .top-call-bar a { font-size: 0.9rem; }
  .top-call-label { font-size: 0.58rem; }
  .header-call span { display: none; }
  .header-call { font-size: 0.77rem; }
  .brand img, .custom-logo { width: 126px; }
  .hero-copy { min-height: 720px; }
  .hero-contact-card { grid-template-columns: 1fr; }
  .hero-contact-card p { grid-column: auto; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .rate-glance { gap: 12px; }
  .rate-glance strong { font-size: 1.25rem; }
  .rate-glance span { font-size: 0.55rem; }
  .hero-collage { min-height: 350px; grid-template-columns: 1.15fr 1fr; }
  .hero-photo figcaption { right: 10px; bottom: 10px; left: 10px; flex-direction: column; gap: 2px; }
  .hero-photo figcaption span { font-size: 0.86rem; }
  .rates-section, .services-section { padding-inline: 18px; }
  .rate-card { padding: 28px 22px; }
  .service-image { height: 300px; }
  .proof-section > img { min-height: 360px; }
  .proof-copy, .coverage-section, .contact-section { padding-inline: 24px; }
  .coverage-section ul { grid-template-columns: 1fr; }
  .coverage-section li:nth-child(odd) { border-right: 0; }
  .coverage-section li:nth-child(even) { padding-left: 10px; }
  .contact-actions { flex-direction: column; }
  .contact-phone { text-align: center; }
  .contact-section::after { right: -310px; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
