/* ===================================================
   PILLAR AGGREGATES LLC — All Page Styles
   =================================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  color: #222222;
  line-height: 1.5;
  padding-bottom: 56px;
  /* space for sticky bottom CTA */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ===== CSS VARIABLES ===== */
:root {
  --orange: #F07D00;
  --orange-hover: #d96d00;
  --cream: #FDF0E4;
  --dark: #1a1a1a;
  --footer-bg: #333333;
  --gray-bg: #f0f0f0;
  --gray: #f5f5f5;
  --border: #dddddd;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text: #222222;
  --text-muted: #555555;
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  background: #ffffff;
  padding: 8px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

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

.header-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-storjohann {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.logo-pillar {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.location-pin {
  height: 22px;
  width: auto;
  object-fit: contain;
}

/* ===== SHARED BUTTON: Orange ===== */
.btn-orange {
  background-color: var(--orange);
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 40px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background 0.2s;
}

.btn-orange:hover {
  background-color: var(--orange-hover);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  min-height: 600px;
  background-image: url('https://pillaraggregates.com/wp-content/themes/pillar-theme/assets/images/new/building.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-banner-img {
  background-image: url('https://pillaraggregates.com/wp-content/themes/pillar-theme/assets/images/new/ac-istock.jpg');
}

.hero-inner {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  min-height: 600px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.hero-left {
  flex: 0 0 62%;
  padding: 60px 20px 60px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-list {
  margin-bottom: 10px;
}

.hero-list li {
  color: #ffffff;
  font-size: 22px;
  padding: 5px 0 5px 26px;
  position: relative;
  line-height: 1.4;
}

.hero-list li::before {
  content: '';
  background-image: url('https://pillaraggregates.com/wp-content/themes/pillar-theme/assets/images/new/bullet1.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 18px;
}

.hero-materials {
  color: rgb(250, 164, 77);
  font-size: 22px;
  margin-bottom: 30px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-img {
  height: 104px;
  width: auto;
  object-fit: contain;
}

.badge-google {
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  height: 85px;
}

.hero-right {
  flex: 0 0 38%;
  padding: 28px 28px 28px 16px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.quote-form-card {
  background-color: var(--orange);
  padding: 20px 28px 24px;
  width: 100%;
  max-width: 390px;
  border-radius: 14px;
}

.form-title {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 11px;
}

.form-group label {
  display: block;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  border: none;
  outline: none;
  background: #ffffff;
  color: #333333;
  border-radius: 3px;
}

.form-group select {
  appearance: auto;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
}

.btn-submit-form {
  display: block;
  width: 100%;
  background: var(--dark);
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s;
}

.btn-submit-form:hover {
  background: #333333;
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-section {
  background-color: var(--cream);
  padding: 65px 0;
}

.about-heading {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  max-width: 100%;
  margin: 0 auto 40px;
  line-height: 1.3;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.contact-info-card {
  background: #ffffff;
}

.contact-info-card h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
}

.serving-text {
  font-size: 28px;
  margin-top: 4px;
  font-weight: 600;
}

.text-orange {
  color: var(--orange);
}

.storjohann-card {
  background-color: #8e8e8e;
  gap: 0;
  padding: 0px;
  justify-content: flex-start;
}

.storjohann-card-logo {
  width: 100%;
  object-fit: contain;
}

/* ===================================================
   PRODUCTS SECTION
   =================================================== */
.products-section {
  background: #ffffff;
  padding: 65px 0;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.product-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.product-card p {
  text-align: center;
  padding: 10px 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Detailed product bullet lists */
.products-list-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.product-bullet-list li {
  padding: 5px 0 5px 26px;
  position: relative;
  font-size: 22px;
  font-weight: 500;
  color: #222222;
  line-height: 1.4;
}

.product-bullet-list li::before {
  content: '';
  background-image: url('https://pillaraggregates.com/wp-content/themes/pillar-theme/assets/images/new/bullet1.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
}

.text-center {
  text-align: center;
}

.btn-quote-large {
  display: inline-block;
  background-color: var(--orange);
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.btn-quote-large:hover {
  background-color: var(--orange-hover);
}

/* ===================================================
   WHY CHOOSE SECTION
   =================================================== */
.why-choose-section {
  background-color: var(--cream);
  padding: 65px 0;
}

.why-choose-section .section-title {
  text-align: center;
}

.why-choose-intro {
  font-size: 22px;
  color: #444444;
  max-width: 1180px;
  margin: 0 auto 32px;
  line-height: 1.7;
  font-weight: 500;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.why-list li {
  padding: 3px 0 7px 28px;
  position: relative;
  font-size: 22px;
  color: #222222;
  line-height: 1.4;
}

.why-list li::before {
  content: '';
  background-image: url('https://pillaraggregates.com/wp-content/themes/pillar-theme/assets/images/new/bullet1.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
}

.map-wrapper {
  width: 100%;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===================================================
   SERVICES SECTION
   =================================================== */
.services-section {
  background-color: var(--gray-bg);
  padding: 65px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.service-card {
  background: #ffffff;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-info {
  padding: 16px;
  text-align: center;
}

.service-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.service-sub {
  font-size: 16px;
  color: #000000;
  font-weight: 400;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  background-color: var(--orange);
  padding: 45px 20px;
  text-align: center;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 22px;
}

.btn-dark-cta {
  display: inline-block;
  background: var(--dark);
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 40px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.btn-dark-cta:hover {
  background: #333333;
}

/* ===================================================
   TESTIMONIALS SECTION
   =================================================== */
.testimonials-section {
  background-color: var(--cream);
  padding: 65px 0;
}

.testimonials-section .section-title {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.testimonial-card {
  background: #ffffff;
  padding: 30px 26px;
  text-align: center;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-icon {
  margin-bottom: 14px;
}

.quote-icon img {
  height: 42px;
  width: auto;
  margin: 0 auto;
}

.testimonial-text {
  font-size: 22px;
  color: #000;
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-author {
  color: var(--orange);
  font-weight: 700;
  font-size: 22px;
}

/* ===================================================
   ACCREDITATIONS SECTION
   =================================================== */
.accreditations-section {
  background: #ffffff;
  padding: 55px 0;
  text-align: center;
}

.accreditations-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.accreditations-logos img {
  width: auto;
  object-fit: contain;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: #ffffff;
  padding: 45px 0;
  text-align: center;
}

.footer-logo-box {
  background: #ffffff;
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 22px;
}

.footer-pillar-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.footer-copy,
.footer-address,
.footer-hours {
  font-size: 20px;
  font-weight: 400;
  color: #cccccc;
  margin-bottom: 5px;
}

.footer-payments {
  margin: 22px 0 0;
}

.footer-payments img {
  height: 40px;
  width: auto;
  margin: 0 auto;
}

.footer-storjohann {
  margin-top: 18px;
}

.footer-storjohann-logo {
  height: 62px;
  width: auto;
  margin: 0 auto;
}

/* ===================================================
   STICKY BOTTOM CTA
   =================================================== */
.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 999;
  padding: 8px 0;
}

.sticky-btn-orange {
  background: var(--orange);
  color: #ffffff;
  text-align: center;
  padding: 12px 40px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  transition: background 0.2s;
}

.sticky-btn-orange:hover {
  background: var(--orange-hover);
}

.sticky-btn-dark {
  background: var(--dark);
  color: #ffffff;
  text-align: center;
  padding: 12px 40px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  transition: background 0.2s;
}

.sticky-btn-dark:hover {
  background: #333333;
}

/* ===================================================
   CALLBACK & THANK YOU PAGES
   =================================================== */
body.form-page {
  min-height: 100vh;
  background-image: url('https://pillaraggregates.com/wp-content/themes/pillar-theme/assets/images/new/river-rock.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

body.form-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.page-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
}

.form-logo {
  margin-bottom: 18px;
}

.form-logo img {
  height: 70px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.form-card {
  background: var(--white);
  border-radius: 8px;
  padding: 25px;
  padding-top: 20px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.page-wrap .form-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-wrap .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0;
}

.page-wrap .form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.page-wrap .form-group input,
.page-wrap .form-group select,
.page-wrap .form-group textarea {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.page-wrap .form-group input:focus,
.page-wrap .form-group select:focus,
.page-wrap .form-group textarea:focus {
  border-color: var(--orange);
  background: #ffffff;
}

.page-wrap .form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: block;
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--orange-hover);
}

/* Thank You Card */
.thankyou-card {
  text-align: center;
  padding: 48px 40px;
}

.check-circle {
  width: 72px;
  height: 72px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 36px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.thankyou-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.thankyou-text {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================
   RESPONSIVE — Tablet (max 900px)
   =================================================== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    flex: none;
    width: 100%;
    padding: 40px 30px;
  }

  .hero-right {
    flex: none;
    width: 100%;
    padding: 0 30px 40px;
    justify-content: center;
  }

  .hero-title {
    font-size: 48px;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-list-section {
    grid-template-columns: 1fr 1fr;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================================================
   RESPONSIVE — Mobile (max 600px)
   =================================================== */
@media (max-width: 600px) {
  .header-inner {
    padding: 0 16px;
  }

  .product-bullet-list li::before {
    top: 6px;
  }

  .badge-img {
    height: 75px;
  }

  .btn-orange {
    font-size: 16px;
    padding: 10px 30px;
  }

  .contact-info-card h3 {
    font-size: 26px;
  }

  .btn-submit-form {
    font-size: 14px;
    padding: 12px 20px;
  }

  .hero-badges {
    justify-content: center;
  }

  .products-list-section {
    gap: 0;
  }

  .header-logos {
    gap: 10px;
  }

  .logo-storjohann {
    height: 38px;
  }

  .logo-pillar {
    height: 34px;
  }

  .header-location {
    display: none;
  }

  .btn-orange.header-call {
    display: none;
  }

  .hero-left {
    padding: 30px 16px;
  }

  .hero-right {
    padding: 0 16px 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle,
  .hero-list li,
  .hero-materials {
    font-size: 16px;
  }

  .about-heading {
    font-size: 26px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card img {
    height: 160px;
  }

  .product-card p {
    font-size: 16px;
  }

  .products-list-section {
    grid-template-columns: 1fr;
  }

  .product-bullet-list li {
    font-size: 16px;
  }

  .why-choose-intro {
    font-size: 16px;
  }

  .why-list li {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner h2 {
    font-size: 26px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-text,
  .testimonial-author {
    font-size: 16px;
  }

  .accreditations-logos {
    gap: 20px;
  }

  .footer-copy,
  .footer-address,
  .footer-hours {
    font-size: 14px;
  }

  .sticky-bottom-cta {
    gap: 8px;
  }

  .sticky-btn-orange,
  .sticky-btn-dark {
    /* flex: 1; */
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
    min-width: 145px;
    white-space: nowrap;
  }

  /* Form pages */
  .form-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-wrap .form-title {
    font-size: 22px;
  }

  .thankyou-title {
    font-size: 28px;
  }

  .thankyou-card {
    padding: 36px 20px;
  }
}