/* Frontier Ready Mix - measurements matched to the live site at 1280px:
   body 14px / line-height 1.8, content ~full width, headings centered,
   intro row full-bleed 40/60, promo row 1140px centered.            */

:root {
  --navy: #005488;
  --navy-dark: #003c61;
  --text: #333333;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

/* ---------- header ---------- */

header.site-header {
  background: var(--navy);
  color: #fff;
}

.header-inner {
  max-width: 1265px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.site-title {
  color: #fff;
  text-decoration: none;
  font-family: "Bitter", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 11px;
  font-size: 14px;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  text-decoration: underline;
}

nav.main-nav .search-icon {
  padding: 8px 6px;
  opacity: 0.85;
  font-size: 13px;
}

.fb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  margin-left: 6px;
  font-size: 15px;
}

.fb-badge:hover { background: rgba(255,255,255,0.3); }

/* ---------- hero (full bleed photo + wave) ---------- */

.hero {
  position: relative;
  background: #2b2e31 center/cover no-repeat;
  height: 495px;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 95px;
  line-height: 0;
}

/* the live site rotates the bottom shape 180deg - without this the wave is inverted */
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(180deg);
}

/* ---------- page title band (interior pages) ---------- */

.page-title {
  padding: 40px 20px 10px;
  text-align: center;
}

.page-title h1 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
}

.page-title p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* ---------- intro row: full bleed, image left / text right ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 500fr 765fr;
  align-items: start;
  padding: 35px 0 10px;
}

.intro-grid > .intro-photo {
  text-align: center;
}

.intro-grid img {
  max-width: 450px;
  width: 100%;
  height: auto;
}

.intro-grid > .intro-text {
  padding: 0 20px 0 10px;
}

.intro-grid h1 {
  margin: 0 0 4px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
}

.intro-grid h2.subhead {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--text);
}

/* ---------- main body ---------- */

main {
  max-width: 1265px;
  margin: 0 auto;
  padding: 10px 45px 30px;
}

main > .intro-grid {
  margin-left: -45px;
  margin-right: -45px;
}

main h2 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 8px;
}

main img { max-width: 100%; }

/* ---------- three promo cards ---------- */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1140px;
  margin: 45px auto;
}

.promo-card {
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  padding: 10px;
  text-align: center;
  background: #fff;
}

.promo-card img {
  display: block;
  width: 100%;
  margin: 0 0 12px;
}

.promo-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.promo-card p {
  margin: 0;
  font-size: 14px;
}

/* ---------- content pieces ---------- */

.info-sections h3,
.ingredient-block h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  margin: 30px 0 10px;
}

.info-sections h3:first-child { margin-top: 0; }

.faq-list .question {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 15px;
  margin: 20px 0 4px;
}

.faq-list .question:first-child { margin-top: 0; }
.faq-list p { margin: 0 0 10px; }

.ingredient-block {
  margin: 24px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e0e0e0;
}

.ingredient-block .supplier {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #555;
}

/* centered service list (contractors page) */
.service-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  text-align: center;
}

.service-list li {
  padding: 6px 0;
  font-size: 15px;
}

/* past projects: text column left, photo column right */
.projects-grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 40px;
  align-items: start;
  margin-top: 10px;
}

.projects-grid .projects-photo img {
  width: 100%;
  height: auto;
}

.project-list {
  padding: 0;
  list-style: none;
}

.project-list li {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.project-list strong {
  display: block;
  color: var(--navy-dark);
}

.project-list span { color: #555; }

.contact-block {
  background: #f4f6f8;
  border: 1px solid #e0e0e0;
  padding: 24px;
  margin: 20px 0;
}

.contact-block a {
  color: var(--navy);
  font-weight: 600;
}

.cta {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  font-weight: 600;
  margin-top: 10px;
}

.cta:hover { background: var(--navy-dark); }

.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
  max-width: 640px;
}

.name-fields input { width: 100%; padding: 8px; }

.name-fields small {
  display: block;
  color: #777;
  font-size: 12px;
  margin-top: 2px;
}

/* ---------- closing call to action ---------- */

.closing-cta {
  text-align: center;
  padding: 30px 20px 20px;
}

.closing-cta .serving {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  max-width: 1120px;
  margin: 0 auto 24px;
}

.closing-cta .phone-cta {
  display: inline-block;
  font-family: "Averia Serif Libre", Georgia, serif;
  font-size: 38px;
  line-height: 1.3;
  color: var(--text);
  text-decoration: none;
}

.closing-cta .phone-cta:hover { color: var(--navy); }

/* ---------- footer ---------- */

footer.site-footer {
  background: var(--navy-dark);
  color: #cfe0ec;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

footer.site-footer a { color: #fff; }

footer.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0;
  margin: 12px 0;
}

footer.site-footer nav a {
  color: #cfe0ec;
  text-decoration: none;
}

footer.site-footer nav a:hover { color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  main { padding: 10px 25px 30px; }
  main > .intro-grid { margin-left: -25px; margin-right: -25px; }
  .hero { height: 380px; }
}

@media (max-width: 767px) {
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-grid > .intro-text { padding-right: 0; }
  .promo-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero { height: 260px; }
  .hero-wave { height: 55px; }
  .closing-cta .phone-cta { font-size: 28px; }
  .closing-cta .serving { font-size: 19px; }
  .name-fields { grid-template-columns: 1fr; }
}
