/* ============================================================
   LIAISON CONCRETE CONSTRUCTION — Interior Page Styles
   Used by: about, contact, thank-you, projects, all service
            pages, and all location pages.
   ============================================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: #111 url('../images/shared/concrete_slab.jpg') center/cover no-repeat;
  padding-top: 100px; /* clear fixed nav */
  overflow: hidden;
}

.page-hero--short { min-height: 320px; }

/* Hero background — works for both <img> and <div style="background-image:..."> */
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* for <img> */
  object-fit: cover;
  object-position: center;
  /* for <div background-image> */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.50) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  max-width: 780px;
}

.page-hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  line-height: 1.7;
}

.page-hero-content .section-eyebrow { color: #AF2725; }

/* ---------- INTERIOR SECTIONS ---------- */
.interior-section {
  padding: 5rem 0;
}

.interior-section.bg-dark {
  background: #111;
}
.interior-section.bg-dark .section-title,
.interior-section.bg-dark h2,
.interior-section.bg-dark h3 { color: #fff; }
.interior-section.bg-dark p,
.interior-section.bg-dark li { color: rgba(255,255,255,0.8); }

.interior-section.bg-light {
  background: #F5F5F5;
}

/* ---------- TWO-COLUMN GRID ---------- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-grid.reversed { direction: rtl; }
.two-col-grid.reversed > * { direction: ltr; }

.two-col-grid p + p { margin-top: 1rem; }

.interior-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.interior-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ---------- VETERAN SECTION ---------- */
.veteran-section {
  padding: 5rem 0;
  background: #000;
}

.veteran-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: center;
}

.veteran-emblem img {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin: 0 auto;
}

.veteran-text .section-title { color: #fff; }
.veteran-text p { color: rgba(255,255,255,0.8); }

.vet-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.vet-badge {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid #AF2725;
  padding: 1rem 1.5rem;
  border-radius: 2px;
  min-width: 140px;
}

.vet-badge strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.25rem;
}

.vet-badge span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.veteran-photo {
  margin-top: 3rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

.veteran-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (max-width: 768px) {
  .veteran-photo img { height: 280px; }
}

/* ---------- VALUES GRID ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid #AF2725;
  padding: 2rem 1.5rem;
  border-radius: 2px;
}

.value-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}

.value-card p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }

/* ---------- TEAM GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #eee;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.05em;
  user-select: none;
}

.team-card:hover .team-photo img { transform: scale(1.04); }

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.team-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AF2725;
  margin-bottom: 0.75rem;
}

.team-info p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* ---------- CERTIFICATIONS ---------- */
.certs-section {
  padding: 5rem 0;
  background: #F5F5F5;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.cert-block {
  background: #fff;
  border-top: 3px solid #AF2725;
  padding: 2rem 1.5rem;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cert-block h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 0.5rem;
}

.cert-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.cert-block p { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: #AF2725;
  padding: 4rem 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ---------- THANK YOU PAGE ---------- */
.thankyou-section {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 5rem;
  background: #F5F5F5;
}

.thankyou-content {
  text-align: center;
  max-width: 600px;
}

.thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #AF2725;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.thankyou-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.thankyou-sub {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.thankyou-contact {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.thankyou-contact a {
  color: #AF2725;
  font-weight: 600;
}

.thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FILTER BAR (PROJECTS) ---------- */
.filter-bar {
  background: #000;
  padding: 1.25rem 0;
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.filter-btn.active {
  background: #AF2725;
  border-color: #AF2725;
  color: #fff;
}

/* ---------- GALLERY (PROJECTS) ---------- */
.gallery-section {
  padding: 4rem 0 5rem;
  background: #111;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  padding: 1.5rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #AF2725;
}

.gallery-loc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title { color: #fff; }
.contact-info > p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.2rem;
  color: #AF2725;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.detail-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.2rem;
}

.detail-value {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

a.detail-value:hover { color: #AF2725; }

.contact-licenses {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.75rem;
}

.contact-areas h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.contact-areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.contact-areas li { font-size: 0.9rem; }
.contact-areas a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.contact-areas a:hover { color: #AF2725; }

/* ---------- BID FORM (contact & service pages) ---------- */
.bid-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #333;
  background: #fafafa;
  border: 1.5px solid #ddd;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #AF2725;
  background: #fff;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #AF2725;
  background: #fff5f5;
}

.form-group textarea { resize: vertical; min-height: 110px; }

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

.file-hint {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.2rem;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: #999;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ---------- SERVICE PAGE — APPLICATIONS GRID ---------- */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.app-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.25rem;
  border-radius: 2px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.app-item::before {
  content: '✓';
  color: #AF2725;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---------- SERVICE PAGE — CONTENT NARROW ---------- */
.content-narrow {
  max-width: 820px;
}

/* ---------- SERVICE PAGE / LOCATION — AREA CHIPS ---------- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.area-chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: rgba(255,255,255,0.75);
  background: transparent;
  transition: all 0.2s;
}

.area-chip:hover,
.area-chip.active {
  background: #AF2725;
  border-color: #AF2725;
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 5rem 0;
  background: #fff;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover { color: #AF2725; }

.faq-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: #AF2725;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
}

.faq-answer.open { display: block; }

.faq-answer p { color: #555; line-height: 1.8; }

/* ---------- LOCATION PAGE — STATS STRIP ---------- */
.stats-strip {
  background: #AF2725;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {}

.stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
}

/* ---------- LOCATION PAGE — SERVICE LIST ---------- */
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #F5F5F5;
  border-radius: 2px;
  transition: background 0.2s;
}

.service-list-item:hover { background: #ececec; }

.service-list-item .sli-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-list-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 0.3rem;
}

.service-list-item p { font-size: 0.88rem; color: #666; line-height: 1.5; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 0.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .values-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .certs-grid        { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid      { grid-template-columns: repeat(3, 1fr); }
  .contact-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .page-hero         { min-height: 340px; padding-top: 80px; }
  .page-hero--short  { min-height: 260px; }
  .page-hero-content h1 { font-size: 2.5rem; }

  .two-col-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-grid.reversed { direction: ltr; }

  .veteran-grid      { grid-template-columns: 1fr; text-align: center; }
  .veteran-emblem img { margin: 0 auto 1.5rem; }
  .vet-badges        { justify-content: center; }

  .values-grid       { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .certs-grid        { grid-template-columns: 1fr 1fr; }

  .cta-band-inner    { flex-direction: column; text-align: center; }
  .cta-band-actions  { justify-content: center; }

  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
  .filter-buttons    { gap: 0.35rem; }
  .filter-btn        { padding: 0.5rem 0.9rem; font-size: 0.7rem; }

  .bid-form          { padding: 1.75rem 1.25rem; }
  .form-row          { grid-template-columns: 1fr; }

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

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

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

  .interior-img-wrap img { height: 280px; }
}

@media (max-width: 480px) {
  .interior-section  { padding: 3.5rem 0; }
  .team-grid         { grid-template-columns: 1fr; }
  .certs-grid        { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: 1fr; }
  .thankyou-actions  { flex-direction: column; }
  .stats-grid        { grid-template-columns: 1fr 1fr; }
}
