/* ═══════════════════════════════════════════════════════════
   INNER PAGES — shared styles for commercial, equipment,
   gallery, faqs
═══════════════════════════════════════════════════════════ */

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 72vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-short {
  height: 52vh;
  min-height: 400px;
}

.page-hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.6) 60%, rgba(0,86,179,0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 0;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: white;
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-accent { color: var(--aqua); }

.page-hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--aqua-light);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 7px; height: 7px;
  background: var(--aqua);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,180,216,0.6); }
  70% { box-shadow: 0 0 0 9px rgba(0,180,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,180,216,0); }
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.8); font-size: 0.86rem; font-weight: 500; }
.trust-stars { color: var(--gold-bright); }
.trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.22); }

/* ─── INTRO SECTION ───────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.intro-text p { color: var(--text-muted); line-height: 1.8; }

.eco-pill {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--light-blue);
  border: 1px solid rgba(0,86,179,0.15);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}
.eco-pill span:first-child { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

.intro-img-wrap { position: relative; }

.intro-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.intro-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--aqua);
  color: var(--navy);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.badge-num { display: block; font-family: 'Baloo 2', cursive; font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-text { font-size: 0.76rem; font-weight: 600; opacity: 0.85; }

/* ─── COMMERCIAL SERVICES ────────────────────────────────── */
.comm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.comm-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.comm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.comm-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.comm-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.comm-card:hover .comm-card-img img { transform: scale(1.07); }

.comm-card-num {
  position: absolute;
  bottom: 10px; right: 14px;
  font-family: 'Baloo 2', cursive;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}

.comm-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.comm-card-icon { font-size: 1.4rem; margin-bottom: 8px; }
.comm-card-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.comm-card-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

/* ─── INDUSTRIES GRID ─────────────────────────────────────── */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.industry-pill {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: default;
}
.industry-pill:hover {
  background: var(--aqua);
  color: var(--navy);
  border-color: var(--aqua);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.25);
}

/* ─── ECO BANNER ─────────────────────────────────────────── */
.eco-banner {
  background: linear-gradient(135deg, #e8f4fd 0%, #d1eaf8 100%);
  padding: 60px 40px;
}
.eco-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.eco-banner-text h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 12px; }
.eco-banner-text p { color: var(--text-muted); line-height: 1.75; max-width: 600px; }
.eco-banner-stats { display: flex; gap: 28px; }
.eco-stat-box { text-align: center; }
.eco-stat-box strong { display: block; font-family: 'Baloo 2', cursive; font-size: 2rem; color: var(--blue); line-height: 1; }
.eco-stat-box span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── GALLERY MASONRY (commercial page) ─────────────────── */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
  margin-top: 16px;
}
.gallery-masonry img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-masonry img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* ─── TECH FEATURES ──────────────────────────────────────── */
.tech-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.tech-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.tech-feature:hover {
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.35);
  transform: translateY(-4px);
}
.tf-icon { font-size: 2rem; margin-bottom: 14px; }
.tech-feature h3 { color: white; font-size: 1rem; margin-bottom: 8px; }
.tech-feature p { color: rgba(255,255,255,0.65); font-size: 0.86rem; line-height: 1.65; }

/* ─── EQUIPMENT GALLERY ──────────────────────────────────── */
.equip-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.equip-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.equip-gallery img:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }

/* ─── INNER CTA ──────────────────────────────────────────── */
.inner-cta-section {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.inner-cta-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
}
.inner-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(0,86,179,0.65) 100%);
}
.inner-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}
.inner-cta-content h2 { font-size: 2.4rem; color: white; margin-bottom: 10px; }
.inner-cta-content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 28px; }
.inner-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── GALLERY PAGE ───────────────────────────────────────── */
.gallery-section { background: white; }

.gallery-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.gf-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  background: white;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.gf-btn:hover { border-color: var(--aqua); color: var(--aqua); }
.gf-btn.active { background: var(--aqua); border-color: var(--aqua); color: var(--navy); }

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.gallery-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.gallery-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* ─── LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.96);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  overflow: hidden;
}
#lbImg {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
  border-radius: var(--radius);
}

.lb-close {
  position: fixed;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.3rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  backdrop-filter: blur(8px);
}
.lb-close:hover { background: var(--aqua); color: var(--navy); }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 2rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(8px);
  line-height: 1;
}
.lb-prev:hover, .lb-next:hover { background: var(--aqua); color: var(--navy); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.06);
  padding: 6px 18px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

/* ─── FAQ PAGE ───────────────────────────────────────────── */
.faq-main-section { background: var(--off-white); }

.faq-main-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-item-lg {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid transparent;
  transition: var(--transition);
  margin-bottom: 12px;
}
.faq-item-lg.open { border-color: rgba(0,180,216,0.3); box-shadow: 0 6px 24px rgba(0,180,216,0.12); }
.faq-item-lg:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.1); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--blue); }
.faq-item-lg.open .faq-q { color: var(--blue); }

.faq-q-icon { font-size: 1.1rem; flex-shrink: 0; }

.faq-icon {
  margin-left: auto;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--aqua);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item-lg.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item-lg.open .faq-a { max-height: 300px; }

.faq-a p {
  padding: 0 24px 22px 56px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.78;
}

/* ─── FAQ SIDEBAR ────────────────────────────────────────── */
.faq-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }

.faq-sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.fsc-icon { font-size: 2rem; margin-bottom: 12px; }
.faq-sidebar-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.faq-sidebar-card > p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.fsc-phones { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.fsc-phones a { color: var(--aqua); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
.fsc-phones a:hover { color: var(--blue); }

.faq-review-card { background: var(--navy); }
.faq-stars { color: var(--gold-bright); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 12px; }
.faq-review-card > p { color: rgba(255,255,255,0.82); font-size: 0.88rem; line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.faq-reviewer { display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 14px; }
.faq-reviewer .reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.75rem; flex-shrink: 0;
}
.faq-reviewer strong { display: block; color: white; font-size: 0.86rem; }
.faq-reviewer span { color: rgba(255,255,255,0.5); font-size: 0.76rem; }

.faq-loyalty-card {
  background: linear-gradient(135deg, var(--aqua), var(--blue-bright));
  border-radius: var(--radius-lg);
  padding: 28px;
  color: white;
  text-align: center;
}
.loyalty-icon { font-size: 2.2rem; margin-bottom: 10px; }
.faq-loyalty-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.faq-loyalty-card p { font-size: 0.88rem; opacity: 0.9; line-height: 1.6; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-img-wrap { order: -1; }
  .intro-badge { left: 20px; }
  .comm-services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-features-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .eco-banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .eco-banner-stats { justify-content: flex-start; }
  .faq-main-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-sidebar { position: static; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 768px) {
  .page-hero-content { padding: 90px 20px 0; }
  .page-hero { height: auto; min-height: 460px; padding-bottom: 48px; align-items: flex-start; }
  .page-hero-short { min-height: 340px; padding-bottom: 36px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .page-hero p { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 10px; flex-wrap: wrap; }
  .trust-divider { display: none; }
  .comm-services-grid { grid-template-columns: 1fr; }
  .tech-features-grid { grid-template-columns: 1fr; }
  .equip-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .inner-cta-content h2 { font-size: 1.8rem; }
  .inner-cta-section { height: auto; padding: 64px 0; }
  .inner-cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .inner-cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .eco-banner { padding: 40px 20px; }
  .eco-banner-inner { grid-template-columns: 1fr; gap: 24px; }
  .eco-banner-stats { justify-content: flex-start; gap: 20px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .gallery-masonry { columns: 1; }
  .faq-main-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-sidebar { position: static; }
  .faq-a p { padding: 0 20px 18px 20px; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-img-wrap { order: -1; }
  .intro-badge { left: 16px; }
  .intro-main-img { height: 320px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .equip-gallery { grid-template-columns: repeat(2, 1fr); }
}
