/* =========================================
   Home Page Styles
   ========================================= */

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 3rem 6rem;
  position: relative;
  overflow: hidden;
  background: var(--black-soft);
}

/* Diagonal pipe pattern background */
.hero-pipes-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--red);
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  color: var(--white);
}
.hero-title .line-red { color: var(--red); display: block; }
.hero-title .line-white { color: var(--white); display: block; }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--black-border);
  padding-top: 2rem;
}

.hero-stat-item { }
.hero-stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-value span { color: var(--red); }
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Oswald', sans-serif; }

/* Hero side card */
.hero-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-top: 4px solid var(--red);
  padding: 2.5rem;
  position: relative;
}

.hero-card-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-card-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  display: inline-block;
  animation: blink-square 1.5s ease-in-out infinite;
}
@keyframes blink-square {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-card h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.hero-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.hero-card-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition);
  font-family: 'Oswald', sans-serif;
}
.hero-card-call:hover { background: var(--red-dark); }
.hero-card-call .call-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.hero-card-call .call-number { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; }

.hero-card-services {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.hero-card-service {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-card-service::before {
  content: '';
  width: 6px; height: 2px;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

/* Pipe graphic inside hero card */
.hero-pipe-graphic {
  position: absolute;
  bottom: -1px;
  right: -1px;
  opacity: 0.12;
  pointer-events: none;
}

/* ===== RED BANNER BAR ===== */
.red-banner {
  background: var(--red);
  padding: 0.9rem 3rem;
}
.red-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.red-banner-items {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.red-banner-item {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.red-banner-item::before {
  content: '';
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
}
.red-banner-item:first-child::before { display: none; }

/* ===== SERVICES ===== */
#services { background: var(--black); border-bottom: 1px solid var(--black-border); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.service-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-left: none;
  border-top: none;
  padding: 2.2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:nth-child(3n+1) { border-left: 1px solid var(--black-border); }
.service-card:nth-child(-n+3) { border-top: 1px solid var(--black-border); }

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: #222; }
.service-card:hover::before { transform: scaleX(1); }

.service-card-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--black-border);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.service-card:hover .service-card-number { color: var(--red); }

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 2px;
  background: var(--red);
}

/* ===== PIPE DIVIDER SECTION ===== */
.pipe-section-divider {
  background: var(--black-soft);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}
.pipe-section-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== WHY US ===== */
#why { background: var(--black-soft); }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.why-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--black-border);
  transition: background var(--transition);
}
.why-point:last-child { border-bottom: none; }

.why-point-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

.why-point h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.why-point p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Why right column */
.why-right { }

.why-rating-block {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-top: 4px solid var(--red);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.why-rating-number {
  font-family: 'Oswald', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.why-rating-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.why-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
  justify-content: center;
}

.why-cta-block {
  background: var(--red);
  padding: 2rem;
  text-align: center;
}
.why-cta-block p {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ===== REVIEWS ===== */
#reviews { background: var(--black); }

.reviews-header { text-align: center; margin-bottom: 4rem; }
.reviews-header .section-label { margin: 0 auto 1.2rem; display: table; }

.review-summary-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.review-summary-bar strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.review-summary-bar span { color: var(--text-muted); font-size: 0.9rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
}

.review-card {
  background: var(--black-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--transition);
}
.review-card:hover { background: #202020; }

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 40px; height: 40px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.reviewer-info { flex: 1; }
.reviewer-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.reviewer-time { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }

.review-text {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.78;
  flex: 1;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* ===== CTA SECTION ===== */
#cta {
  background: var(--red);
  padding: 6rem 3rem;
}
.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-inner h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}
.cta-inner p { font-size: 1rem; color: rgba(255,255,255,0.82); line-height: 1.7; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; min-width: 240px; }
.cta-phone {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.25);
  letter-spacing: 0.04em;
  transition: background var(--transition);
}
.cta-phone:hover { background: rgba(0,0,0,0.4); }

/* ===== PIPE DECORATIONS IN PAGE ===== */
/* SVG pipe illustrations woven in */
.pipe-art {
  pointer-events: none;
  display: block;
}

/* ===== OUR WORK / FEATURED INSTALLATION ===== */
#work {
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--black-border);
}

.work-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.work-image-container {
  position: relative;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-image-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  z-index: 2;
}

.work-image-frame {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
  transition: transform 0.4s ease;
  display: block;
}

.work-image-container:hover .work-image-frame img {
  transform: scale(1.03);
}

.work-image-bar {
  padding: 1.25rem 1.5rem;
  background: var(--black-card);
  border-top: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.work-image-caption h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.work-image-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.work-content {
  display: flex;
  flex-direction: column;
}

.work-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.8rem 0 2.2rem;
}

.work-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-left: 3px solid var(--red);
  padding: 1rem 1.25rem;
}

.work-feature-icon {
  width: 26px;
  height: 26px;
  background: rgba(196, 26, 26, 0.15);
  color: var(--red);
  border: 1px solid rgba(196, 26, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.work-feature-text h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.work-feature-text p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.work-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { border-left: 1px solid var(--black-border) !important; border-top: 1px solid var(--black-border) !important; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .work-showcase-layout { grid-template-columns: 1fr; gap: 3rem; }
  .work-image-frame { height: 380px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; min-width: unset; }
}

@media (max-width: 768px) {
  #hero { padding: 8rem 1.5rem 5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .red-banner-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; }
}
