/* =============================================
   FACILITY PRO — INNER PAGES & EXTRA STYLES
   Add this to style.css or enqueue separately
   ============================================= */

/* =============================================
   PAGE HERO (shared across all inner pages)
   ============================================= */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: 140px 0 70px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(244,166,35,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,166,35,0.4) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 800;
}
.page-hero-title span { color: var(--amber); }

.page-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.4); }
.bc-sep { color: rgba(255,255,255,0.3); }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  background: var(--navy);
  padding: 50px 0;
}

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

.stats-strip-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stats-strip-item:last-child { border-right: none; }

.ss-icon  { font-size: 28px; margin-bottom: 10px; }
.ss-num   { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--amber); line-height: 1; }
.ss-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* =============================================
   ABOUT PAGE
   ============================================= */

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.mvv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--amber);
}
.mvv-card.mvv-featured {
  background: var(--navy);
  border-color: var(--amber);
}
.mvv-card.mvv-featured .mvv-title { color: var(--white); }
.mvv-card.mvv-featured .mvv-desc  { color: rgba(255,255,255,0.65); }

.mvv-icon  { font-size: 44px; margin-bottom: 16px; }
.mvv-title { font-family: var(--font-head); font-size: 20px; color: var(--navy); margin-bottom: 12px; font-weight: 700; }
.mvv-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 28px; font-weight: 800;
  color: var(--amber);
  margin: 0 auto 16px;
  border: 3px solid rgba(244,166,35,0.2);
}

.team-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.team-role { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.partner-card:hover {
  background: rgba(244,166,35,0.07);
  border-color: rgba(244,166,35,0.25);
}
.partner-icon  { font-size: 40px; margin-bottom: 14px; }
.partner-name  { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.partner-desc  { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* =============================================
   SERVICES PAGE — DETAIL CARDS
   ============================================= */
.services-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.sdc-left {
  background: var(--offwhite);
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sdc-icon {
  font-size: 52px;
  margin-bottom: 20px;
}

.sdc-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.sdc-meta-val {
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}

.sdc-right {
  padding: 32px 36px;
}

.sdc-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 14px;
}

.sdc-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sdc-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.sdc-points li {
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sdc-points li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  z-index: 0;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.ps-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.ps-icon  { font-size: 36px; margin-bottom: 12px; }
.ps-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.ps-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* =============================================
   SERVICE SINGLE PAGE
   ============================================= */
.single-service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: flex-start;
}

.ss-main { }

.ss-icon-big {
  font-size: 60px;
  margin-bottom: 16px;
  display: block;
}

/* Scope grid */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.scope-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  padding: 10px 14px;
  background: var(--offwhite);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.scope-check {
  color: var(--amber);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

/* Industry tags */
.service-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-ind-tag {
  background: rgba(244,166,35,0.1);
  border: 1px solid rgba(244,166,35,0.25);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item.open { border-color: var(--amber); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.faq-q:hover { background: var(--offwhite); }
.faq-item.open .faq-q { background: rgba(244,166,35,0.08); color: var(--amber); }

.faq-arrow {
  font-size: 18px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* Prev/Next service nav */
.service-nav-links {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.snl-btn {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
  min-width: 180px;
}
.snl-btn:hover { border-color: var(--amber); background: rgba(244,166,35,0.06); }
.snl-next { text-align: right; }

/* Sidebar */
.ss-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ss-sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.ss-enquiry-box {
  background: var(--navy);
  border-color: rgba(255,255,255,0.08);
}

.ssb-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
  display: inline-block;
}

.ssb-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ssb-benefits li {
  font-size: 13px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ssb-benefits li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* Sidebar form inputs */
.ss-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.3s;
}
.ss-input::placeholder { color: rgba(255,255,255,0.35); }
.ss-input:focus { border-color: var(--amber); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(244,166,35,0.08);
}
.contact-whatsapp-card:hover { border-color: #25D366; }

.cic-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cic-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cic-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
  transition: var(--transition);
}
a.cic-value:hover { color: var(--amber); }
.cic-note { font-size: 12px; color: var(--text-muted); }

/* Office hours */
.office-hours-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.ohb-title {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 16px;
}
.ohb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.ohb-row:last-child { border-bottom: none; }
.ohb-closed { color: rgba(255,255,255,0.3); }
.ohb-row span:last-child { font-weight: 600; color: var(--amber); }
.ohb-closed span:last-child { color: rgba(255,255,255,0.3); }

/* Contact form box */
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.cfb-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.cfb-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Form elements */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.req { color: #ef4444; }
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.form-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244,166,35,0.1);
}
.form-input::placeholder { color: var(--text-muted); }

/* Map */
.map-embed-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Default page content */
.default-page-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}
.default-page-content h2,
.default-page-content h3 { color: var(--navy); margin: 28px 0 12px; font-family: var(--font-head); }
.default-page-content p  { margin-bottom: 18px; }
.default-page-content ul { padding-left: 20px; margin-bottom: 18px; }
.default-page-content ul li { margin-bottom: 8px; }

/* Single post content */
.single-post-content { font-size: 16px; line-height: 1.85; color: var(--text-muted); }
.single-post-content h2,
.single-post-content h3 { color: var(--navy); margin: 28px 0 12px; font-family: var(--font-head); }
.single-post-content p  { margin-bottom: 18px; }
.single-post-content img { border-radius: var(--radius-sm); margin: 24px 0; }

.post-nav-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: var(--transition);
}
.post-nav-btn:hover { border-color: var(--amber); color: var(--amber); }

/* =============================================
   RESPONSIVE — INNER PAGES
   ============================================= */
@media (max-width: 1024px) {
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .single-service-layout { grid-template-columns: 1fr; }
  .ss-sidebar          { position: static; }
  .process-grid        { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  .page-hero           { padding: 120px 0 60px; }

  .mvv-grid            { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: 1fr 1fr; }
  .partners-grid       { grid-template-columns: 1fr; }

  .stats-strip-grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-strip-item    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }

  .service-detail-card { grid-template-columns: 1fr; }
  .sdc-left            { border-right: none; border-bottom: 1px solid var(--border); padding: 24px; }
  .sdc-right           { padding: 24px; }
  .sdc-points          { grid-template-columns: 1fr; }

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

  .contact-layout      { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-box    { padding: 28px 20px; }
  .form-row-2          { grid-template-columns: 1fr; }

  .scope-grid          { grid-template-columns: 1fr; }
  .service-nav-links   { flex-direction: column; }
  .snl-next            { text-align: left; }
}

@media (max-width: 480px) {
  .team-grid    { grid-template-columns: 1fr; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   SERVICES DETAIL ROW (Our Services page)
   ══════════════════════════════════════════ */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.service-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.sdr-reverse { direction: rtl; }
.sdr-reverse > * { direction: ltr; }

.sdr-img-col {}
.sdr-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-lg);
}
.sdr-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-detail-row:hover .sdr-img-wrap img { transform: scale(1.04); }

.sdr-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.5), rgba(30,58,95,.3));
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdr-big-icon {
  font-size: 72px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

.sdr-title {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: clamp(22px,3vw,32px);
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 14px;
  line-height: 1.25;
}
.sdr-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.sdr-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 18px;
  list-style: none;
  padding: 0;
}
.sdr-points li {
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sdr-points li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}
.sdr-industries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.sdr-ind-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══ SERVICE SINGLE: section blocks ══ */
.ss-section-block { margin-top: 36px; }
.ss-section-heading {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* ══════════════════════════════════════════
   SEO META BOX STYLES (admin only — no effect on frontend)
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   RESPONSIVE ADDITIONS
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .service-detail-row { grid-template-columns: 1fr; gap: 32px; }
  .sdr-reverse { direction: ltr; }
  .sdr-img-wrap { height: 240px; }
  .sdr-big-icon { font-size: 52px; }
  .ddr-points { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sdr-points { grid-template-columns: 1fr; }
}
