/* ─────────────────────────────────────────────────────────────
   major-pro.css — Major project page styles
   Fixes applied:
   - Added .btn-mt utility (replaces inline style="margin-top:10px")
   - Added .gold-divider--center modifier (replaces inline
     style="margin:0 auto 28px")
   - Added .mp-img-badge, .mp-img-badge--br, .mp-img-badge--col,
     .mp-img-badge__num, .mp-img-badge__label, .mp-img-badge__icon
     (replaces fully inline badge overlays on energy-hub and
     smart-unit pages)
   - Added .mp-note--mt modifier (replaces inline style="margin-top:16px")
   - Added .mp-roi-stats--center modifier (replaces inline
     style="justify-content:center;margin-top:40px")
   - Decorative section comment dividers removed
   - Version comment removed
───────────────────────────────────────────────────────────── */

.mp-main { background: #000; color: #fff; }

/* Gold rule */
.gold-divider {
  width: 44px;
  height: 1px;
  background: var(--gold, #c8a45d);
  margin-bottom: 24px;
}

/* Centered gold divider — replaces style="margin:0 auto 28px" */
.gold-divider--center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .3s, transform .3s, border-color .3s, color .3s;
}

.btn:hover { transform: translateY(-2px); }
.btn-gold  { background: var(--gold, #c8a45d); color: #000; }
.btn-gold:hover { background: #b8943f; }

/* Button top-margin utility — replaces style="margin-top:10px" on Enquire buttons */
.btn-mt { margin-top: 10px; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: .12s; }
[data-delay="2"] { transition-delay: .24s; }

/* Hero */
.mp-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.mp-hero__bg { position: absolute; inset: 0; }

.mp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
}

.mp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .65) 100%);
}

.mp-hero__content { position: relative; z-index: 1; }

.mp-hero__title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.mp-hero__gold {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.1rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--gold, #c8a45d);
  margin-bottom: 14px;
}

.mp-hero__sub {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: .95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .72);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Sections */
.mp-section { padding: 90px 0; background: #000; }
.mp-section--dark { background: #070707; }

/* Tag pill */
.mp-tag {
  display: inline-block;
  font-family: var(--font-accent, 'Cormorant Garamond', Georgia, serif);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold, #c8a45d);
  border: 1px solid rgba(200, 164, 93, .3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

/* Headings */
.mp-heading {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.mp-heading--center { text-align: center; }

.mp-lead {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, .68);
  line-height: 1.85;
  margin-bottom: 24px;
}

.mp-lead--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.mp-sub-head {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 20px 0 10px;
  letter-spacing: .04em;
}

/* Body paragraphs inside splits */
.mp-split__text p {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, .68);
  line-height: 1.9;
  margin-bottom: 14px;
}

/* Note text */
.mp-note {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, .5);
  line-height: 1.85;
  font-style: italic;
}

.mp-note--center {
  text-align: center;
  max-width: 640px;
  margin: 20px auto 0;
}

/* Note with top margin — replaces style="margin-top:16px" */
.mp-note--mt { margin-top: 16px; }

/* Split layout */
.mp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.mp-split--reverse { direction: rtl; }
.mp-split--reverse > * { direction: ltr; }

/* Image wrapper */
.mp-split__image { position: relative; }

/* Image frame with decorative border offset */
.mp-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.mp-img-frame::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -14px;
  bottom: -14px;
  left: 14px;
  border: 1px solid rgba(200, 164, 93, .18);
  border-radius: 12px;
  z-index: -1;
  pointer-events: none;
}

.mp-img-frame--left::after { right: 14px; left: -14px; }

.mp-img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
  filter: brightness(.88);
  transition: filter .5s;
}

.mp-img:hover { filter: brightness(1); }

.mp-img__caption {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  font-family: var(--font-body, 'Jost', sans-serif);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Image badge overlay — replaces fully inline badge divs on energy-hub and smart-unit
   Usage:
     <div class="mp-img-badge mp-img-badge--br">          (bottom-right, horizontal layout)
       <strong class="mp-img-badge__num">5,000<sup>MW</sup></strong>
       <span class="mp-img-badge__label">Solar Park<br>Capacity</span>
     </div>

     <div class="mp-img-badge mp-img-badge--br mp-img-badge--col">  (column layout with icon)
       <i class="fa-solid fa-industry mp-img-badge__icon"></i>
       <span class="mp-img-badge__label">Smart<br>Manufacturing<br>Hub</span>
     </div>
*/
.mp-img-badge {
  position: absolute;
  background: var(--gold, #c8a45d);
  color: #000;
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  z-index: 2;
}

/* Bottom-right placement */
.mp-img-badge--br {
  bottom: -20px;
  right: -20px;
}

/* Column layout variant (icon + label stacked) */
.mp-img-badge--col {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.mp-img-badge__num {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

.mp-img-badge__num sup {
  font-size: .9rem;
}

.mp-img-badge__label {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .72);
  line-height: 1.4;
}

.mp-img-badge__icon {
  font-size: 22px;
  color: #000;
}

/* Lists */
.mp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 6px;
}

.mp-list li {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.mp-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold, #c8a45d);
  font-size: 12px;
}

.mp-list--bullet li::before { content: "—"; }

/* Two-column runway/feature grid */
.mp-runway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 24px 0 20px;
}

.mp-runway-sub {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

/* CTA banner */
.mp-cta-banner {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1508 100%);
  border-top: 1px solid rgba(200, 164, 93, .15);
  border-bottom: 1px solid rgba(200, 164, 93, .15);
  padding: 72px 0;
  text-align: center;
}

.mp-cta-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mp-cta-sub {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, .65);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Reasons grid */
.mp-centered { text-align: left; }

.mp-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 36px 0 28px;
}

.mp-reason {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(200, 164, 93, .12);
  border-radius: 4px;
  padding: 28px 24px;
  transition: border-color .3s, background .3s, transform .3s;
}

.mp-reason:hover {
  border-color: rgba(200, 164, 93, .38);
  background: rgba(200, 164, 93, .05);
  transform: translateY(-4px);
}

.mp-reason__num {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold, #c8a45d);
  display: block;
  margin-bottom: 8px;
}

.mp-reason h4 {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.mp-reason p {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, .62);
  line-height: 1.8;
}

/* ROI stats strip */
.mp-roi-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

/* Centered ROI stats — replaces style="justify-content:center;margin-top:40px" */
.mp-roi-stats--center {
  justify-content: center;
  margin-top: 40px;
}

.mp-roi-stat { display: flex; flex-direction: column; gap: 5px; }

.mp-roi-stat strong {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold, #c8a45d);
  line-height: 1;
}

.mp-roi-stat span {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  max-width: 130px;
  line-height: 1.5;
}

/* FAQ accordion */
.mp-faq-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.mp-faq-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }

.mp-faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  transition: color .3s;
}

.mp-faq-q:hover { color: var(--gold, #c8a45d); }

.mp-faq-q i {
  color: var(--gold, #c8a45d);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .35s ease;
}

.mp-faq-item.open .mp-faq-q i { transform: rotate(45deg); }

.mp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}

.mp-faq-item.open .mp-faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}

.mp-faq-a p {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .62);
  line-height: 1.85;
}

.mp-related__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mp-related__links a {
  padding: 10px 22px;
  border: 1px solid rgba(200,164,93,0.35);
  border-radius: 999px;
  color: var(--gold, #c8a45d);
  text-decoration: none;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  transition: background 0.3s, color 0.3s;
}
.mp-related__links a:hover {
  background: var(--gold, #c8a45d);
  color: #000;
}

.mp-list a {
  color: var(--gold, #c8a45d);
  text-decoration: underline;
  transition: color 0.3s;
}
.mp-list a:hover { color: #fff; }

/* ─────────────────────────────────────────────────────────
   Responsive breakpoints
───────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .mp-split { gap: 50px; }
  .mp-img   { height: 520px; }
}

@media (max-width: 1024px) {
  .mp-split,
  .mp-split--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .mp-split--reverse > * { direction: ltr; }

  .mp-img { height: 380px; }

  .mp-img-frame::after { top: 10px; right: -10px; bottom: -10px; left: 10px; }
  .mp-img-frame--left::after { right: 10px; left: -10px; }

  /* Badge stays visible on single-column layout */
  .mp-img-badge--br { bottom: -16px; right: -10px; }

  .mp-runway-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mp-reasons-grid { gap: 20px; }
  .mp-section      { padding: 72px 0; }
  .mp-cta-banner   { padding: 60px 20px; }
}

@media (max-width: 900px) {
  .mp-reasons-grid { grid-template-columns: 1fr; gap: 16px; }
  .mp-img          { height: 320px; }
  .mp-roi-stats    { gap: 16px; }
  .mp-roi-stat     { min-width: 110px; }
}

@media (max-width: 768px) {
  .mp-hero {
    height: auto;
    min-height: 420px;
    padding: 80px 20px 60px;
  }

  .mp-hero__sub { max-width: 100%; padding: 0 4px; }

  .mp-section  { padding: 56px 0; }
  .mp-cta-banner { padding: 52px 20px; }
  .mp-cta-sub    { font-size: 14px; }

  .mp-img-frame::after { top: 8px; right: -8px; bottom: -8px; left: 8px; }
  .mp-img-frame--left::after { right: 8px; left: -8px; }
  .mp-img-badge--br { bottom: -12px; right: -6px; }

  .mp-img { height: 280px; }

  .mp-roi-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex-wrap: unset;
  }

  .mp-roi-stats--center {
    justify-content: unset;
  }

  .mp-roi-stat     { min-width: unset; }
  .mp-roi-stat strong { font-size: 1.5rem; }

  .mp-reasons-grid { grid-template-columns: 1fr; margin: 28px 0 20px; }
  .mp-reason       { padding: 22px 18px; }
  .mp-faq-q        { font-size: 14px; padding: 18px 0; }
  .mp-lead--center { padding: 0 4px; }
  .mp-heading      { font-size: clamp(1.45rem, 5vw, 2.2rem); }
}

@media (max-width: 600px) {
  .mp-hero         { min-height: 380px; padding: 70px 16px 50px; }
  .mp-hero__title  { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .mp-hero__gold   { font-size: clamp(1rem, 4.5vw, 1.4rem); }
  .mp-hero__sub    { font-size: 0.88rem; }

  .mp-section { padding: 48px 0; }
  .mp-img     { height: 230px; }

  /* Disable decorative frame border on small screens to prevent overflow */
  .mp-img-frame::after,
  .mp-img-frame--left::after { display: none; }

  /* Tuck badge inward at this size */
  .mp-img-badge--br { bottom: 8px; right: 8px; padding: 12px 14px; }
  .mp-img-badge__num { font-size: 1.4rem; }

  .mp-heading   { font-size: clamp(1.35rem, 6.5vw, 1.9rem); }
  .mp-cta-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .mp-lead      { font-size: 14px; }
  .mp-cta-sub   { font-size: 13.5px; }

  .mp-roi-stats        { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mp-roi-stat strong  { font-size: 1.4rem; }
  .mp-roi-stat span    { font-size: 10.5px; }

  .mp-reason     { padding: 20px 16px; }
  .mp-reason__num { font-size: 1.4rem; }
  .mp-reason h4  { font-size: 13.5px; }
  .mp-reason p   { font-size: 13px; }

  .mp-cta-banner { padding: 44px 16px; }

  .mp-faq-q   { font-size: 13.5px; padding: 16px 0; gap: 12px; }
  .mp-faq-a p { font-size: 13px; }

  .mp-split__text p { font-size: 14px; }
  .mp-sub-head      { font-size: 13.5px; }
  .mp-list li       { font-size: 13.5px; }
  .mp-note          { font-size: 13px; }
  .mp-runway-sub    { font-size: 1rem; }

  .mp-tag {
    font-size: 10px;
    padding: 4px 12px;
    letter-spacing: 0.18em;
  }

  .gold-divider { margin-bottom: 18px; }

  .mp-cta-banner .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .mp-hero        { min-height: 340px; padding: 60px 14px 44px; }
  .mp-hero__title { font-size: 1.6rem; }
  .mp-hero__gold  { font-size: 1rem; }
  .mp-hero__sub   { font-size: 0.83rem; }

  .mp-heading { font-size: 1.3rem; }
  .mp-img     { height: 200px; }

  .mp-img-badge--br { display: none; }

  .mp-roi-stats       { grid-template-columns: 1fr; gap: 12px; }
  .mp-roi-stat strong { font-size: 1.35rem; }

  .mp-reason  { padding: 18px 14px; }
  .mp-section { padding: 40px 0; }

  .mp-cta-banner { padding: 38px 14px; }
  .mp-cta-title  { font-size: 1.3rem; }

  .mp-faq-q { font-size: 13px; padding: 14px 0; }

  .mp-split__text p,
  .mp-lead { font-size: 13.5px; }

  .mp-cta-banner .btn {
    max-width: 100%;
    font-size: 11px;
    padding: 12px 24px;
  }
}