/* PJ INFRA — Unified theme (homepage palette sitewide) */

:root {
  --site-bg: #141210;
  --site-bg-soft: #1c1a17;
  --site-bg-card: #232019;
  --site-cream: #f8f5ef;
  --site-text: #e8e4dc;
  --site-text-muted: #c8c4bc;
  --site-heading: #ffffff;
  --site-dark-text: #1a1a1a;
}

body {
  background: var(--site-bg) !important;
  color: var(--site-text-muted) !important;
}

/* ——— Brand palette to match new PJ INFRA logo ——— */
:root {
  --brand-maroon: #8B1A2B;
  --brand-maroon-deep: #6B1320;
  --brand-orange: #F97316;
  --brand-orange-light: #FB923C;
  --brand-gold: #B8860B;
  --brand-gold-light: #D4AF37;
  --brand-ink: #1a1a1a;
  --brand-ink-muted: #4b5563;
}

/* ——— Premium sticky header: white pill, black text, orange/maroon accents ——— */
.site-header {
  padding-top: 0.9rem !important;
  transition: padding 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled {
  padding-top: 0.5rem !important;
}

/* WHITE FROSTED PILL — beats theme-brown.css + cinematic-mobile.css (≥ 0,3,0 specificity) */
.site-header .header-bar.border-flare,
.site-header .header-bar,
.site-header.scrolled .header-bar.border-flare,
.site-header.scrolled .header-bar {
  background: rgba(255, 255, 255, 0.97) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(139, 26, 43, 0.22) !important;
  box-shadow:
    0 10px 36px rgba(15, 23, 42, 0.18),
    0 1px 0 rgba(249, 115, 22, 0.18) inset !important;
}

/* Inner row — transparent so outer white shows; only padding here */
.site-header .header-bar.border-flare .border-flare-inner,
.site-header .header-bar > div,
.site-header .header-bar .max-w-7xl,
.site-header.scrolled .header-bar.border-flare .border-flare-inner,
.site-header.scrolled .header-bar > div,
.site-header.scrolled .header-bar .max-w-7xl {
  background: transparent !important;
  padding: 0.55rem 1.1rem !important;
  box-shadow: none !important;
}

/* Mobile reinforcement (cinematic-mobile.css uses @media too) */
@media (max-width: 767px) {
  .site-header .header-bar.border-flare,
  .site-header .header-bar,
  .site-header.scrolled .header-bar.border-flare,
  .site-header.scrolled .header-bar {
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(139, 26, 43, 0.22) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18) !important;
  }
  .site-header .header-bar.border-flare .border-flare-inner,
  .site-header .header-bar > div {
    background: transparent !important;
    padding: 0.45rem 0.85rem !important;
  }
}

/* Orange-maroon accent flare on header bar bottom */
.site-header .header-bar.border-flare::after,
.header-bar.border-flare::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 26, 43, 0.45) 14%,
    #8B1A2B 32%,
    #F97316 50%,
    #D4AF37 68%,
    rgba(139, 26, 43, 0.45) 86%,
    transparent
  ) !important;
  height: 2px !important;
}

/* Brand text — maroon brand title, orange subtitle (beats theme-brown.css) */
.site-header .brand-lockup .header-brand-title,
.site-header .header-brand-title,
.site-header.scrolled .brand-lockup .header-brand-title,
.site-header.scrolled .header-brand-title,
.site-header:not(.scrolled) .header-brand-title {
  color: var(--brand-maroon) !important;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.site-header .brand-lockup .header-brand-sub,
.site-header .header-brand-sub,
.site-header.scrolled .header-brand-sub,
.site-header:not(.scrolled) .header-brand-sub {
  color: var(--brand-orange) !important;
  letter-spacing: 0.18em;
  font-weight: 600;
}

/* Brand logo image — crisp, no extra gradient bg */
.site-header .brand-logo-img-header,
.brand-logo-img-header {
  width: 2.5rem !important;
  height: 2.5rem !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0.6rem !important;
  filter: drop-shadow(0 2px 6px rgba(139, 26, 43, 0.18));
}

/* Nav island — dark links on light bar (beats theme-brown.css) */
.site-header nav .dynamic-island,
.site-header .dynamic-island,
.site-header.scrolled .dynamic-island {
  background: rgba(139, 26, 43, 0.05) !important;
  border: 1px solid rgba(139, 26, 43, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.site-header .dynamic-island .island-link,
.site-header .island-link,
.site-header:not(.scrolled) .island-link,
.site-header.scrolled .island-link,
.site-header:not(.scrolled) .dynamic-island a {
  color: var(--brand-ink) !important;
  font-weight: 600;
  text-shadow: none !important;
}

.site-header .dynamic-island .island-link:hover,
.site-header .island-link:hover,
.site-header:not(.scrolled) .island-link:hover,
.site-header.scrolled .island-link:hover {
  color: var(--brand-orange) !important;
  text-shadow: none !important;
}

.site-header .dynamic-island .island-link.active,
.site-header .island-link.active,
.site-header:not(.scrolled) .island-link.active,
.site-header.scrolled .island-link.active {
  color: var(--brand-maroon) !important;
  text-shadow: none !important;
}

.site-header .dynamic-island .island-link.active::after,
.site-header .island-link::after,
.site-header:not(.scrolled) .island-link.active::after,
.site-header.scrolled .island-link.active::after,
.site-header .island-link.active::after {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-maroon)) !important;
}

/* Header buttons — orange/maroon flavored when on header */
.site-header .btn-premium,
.site-header .btn-outline-gold {
  border: none !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.82rem !important;
}

.site-header .btn-premium {
  background: linear-gradient(135deg, var(--brand-maroon) 0%, var(--brand-orange) 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28) !important;
}

.site-header .btn-premium i {
  color: #fff !important;
}

.site-header .btn-outline-gold {
  background: rgba(255, 255, 255, 0.4) !important;
  color: var(--brand-maroon) !important;
  border: 1px solid var(--brand-orange) !important;
}

.site-header .btn-outline-gold:hover {
  background: var(--brand-orange) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.35) !important;
}

/* Mobile toggle */
.site-header #mobile-toggle {
  background: rgba(139, 26, 43, 0.08) !important;
  border: 1px solid rgba(139, 26, 43, 0.25) !important;
  color: var(--brand-maroon) !important;
}

.site-header #mobile-toggle i {
  color: var(--brand-maroon) !important;
}

/* ============================================================
   MOBILE FIXES — index hero, sections, footer
   ============================================================ */

/* Hero CTA buttons — smaller on mobile (override hero-video.css forced-100%) */
@media (max-width: 640px) {
  .hero-cta-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
  }
  .btn-hero {
    width: auto !important;
    padding: 0.55rem 0.95rem !important;
    font-size: 0.78rem !important;
    border-radius: 999px !important;
    gap: 0.35rem !important;
  }
  .btn-hero i {
    font-size: 0.8rem !important;
  }
}

/* Stats — give bottom breathing space so cards don't touch next section */
@media (max-width: 767px) {
  section.section-alt.py-16,
  section.py-16.section-alt {
    padding-bottom: 2.75rem !important;
  }
  .section-alt .grid.grid-cols-2.lg\:grid-cols-4 {
    gap: 0.85rem !important;
  }
  .stat-box.glass-card {
    padding: 1.15rem 0.75rem !important;
  }
}

/* Location Advantages / Enquiry section — keep left column centered on mobile */
@media (max-width: 1023px) {
  .reveal-left,
  .reveal-right {
    transform: none !important;
  }
  section.py-20.section-light .grid.lg\:grid-cols-2,
  section#enquiry .grid.lg\:grid-cols-2 {
    gap: 1.75rem !important;
  }
  section.py-20.section-light .reveal-left,
  section#enquiry .reveal-left {
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 0.25rem !important;
  }
  section.py-20.section-light .reveal-left h2.section-title,
  section#enquiry .reveal-left h2.section-title {
    text-align: center !important;
  }
  section.py-20.section-light .reveal-left ul,
  section.py-20.section-light .reveal-left .space-y-4 {
    text-align: left !important;
    max-width: 28rem;
    margin: 0 auto !important;
  }
  section#enquiry .reveal-left .flex-col {
    align-items: center !important;
  }
}

/* Enquiry form: smaller padding on mobile, tighter inputs */
@media (max-width: 767px) {
  section#enquiry .form-enquiry-wrap.rounded-2xl {
    padding: 1.25rem 1rem !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }
  section#enquiry .form-input {
    padding: 0.7rem 0.9rem !important;
    font-size: 0.92rem !important;
    border-radius: 0.7rem !important;
  }
  section#enquiry .form-enquiry-wrap textarea.form-input {
    min-height: 90px;
  }
  section#enquiry .form-enquiry-wrap button[type="submit"] {
    padding: 0.85rem 1rem !important;
    font-size: 0.92rem !important;
    border-radius: 0.75rem !important;
  }
  section#enquiry .form-enquiry-wrap .grid.sm\:grid-cols-2 {
    gap: 0.65rem !important;
  }
}

/* Footer — left aligned, tighter rhythm on mobile */
@media (max-width: 767px) {
  .site-footer.footer-lux {
    padding: 2rem 0 1.25rem !important;
  }
  .footer-lux .footer-grid {
    gap: 1.1rem !important;
    margin-bottom: 1rem !important;
  }
  .footer-lux .footer-grid > div {
    text-align: left !important;
  }
  .footer-lux .footer-grid > div h4 {
    margin-bottom: 0.5rem !important;
    font-size: 0.7rem !important;
  }
  .footer-lux .footer-grid ul {
    margin: 0 !important;
  }
  .footer-lux .footer-grid ul li {
    margin-bottom: 0.25rem !important;
    line-height: 1.45 !important;
  }
  .footer-lux .footer-brand-text {
    margin: 0 0 0.85rem 0 !important;
    max-width: 100% !important;
  }
  .footer-lux .footer-social {
    margin-top: 0.5rem !important;
  }
  .footer-lux .footer-social a {
    width: 2.25rem !important;
    height: 2.25rem !important;
    font-size: 0.95rem !important;
  }
  .footer-divider-gold {
    margin: 0.75rem 0 !important;
  }
  .footer-lux .footer-bottom {
    text-align: left !important;
    padding-top: 0.25rem !important;
  }
}

/* ============================================================
   GALLERY PAGE — harmonize with maroon + orange brand palette
   ============================================================ */
.gallery-hero {
  padding-top: 7.5rem !important;
  padding-bottom: 2.5rem !important;
  background: linear-gradient(180deg, #0a0a0f 0%, #141210 60%, #1c1a17 100%) !important;
}

.gallery-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.gallery-hero .text-gold-brand,
.gallery-hero span.uppercase {
  color: var(--brand-orange) !important;
  font-weight: 700 !important;
}

.gallery-hero p {
  color: #c8c4bc !important;
  margin: 0 auto !important;
}

.gallery-hero .luxury-divider {
  background: linear-gradient(90deg, transparent, var(--brand-orange), var(--brand-maroon), transparent) !important;
  margin-top: 1.25rem !important;
}

.gallery-tabs {
  margin: 0 auto 2.5rem !important;
  gap: 0.75rem !important;
}

.gallery-tab {
  padding: 0.7rem 1.75rem !important;
  border-radius: 999px !important;
  border: 2px solid rgba(139, 26, 43, 0.35) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #d8d4cc !important;
  min-width: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.gallery-tab:hover {
  border-color: var(--brand-orange) !important;
  color: var(--brand-orange-light) !important;
  background: rgba(249, 115, 22, 0.08) !important;
}

.gallery-tab.active {
  background: linear-gradient(135deg, var(--brand-maroon), var(--brand-orange)) !important;
  border-color: var(--brand-orange) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.3) !important;
}

.gallery-item {
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  background: #1c1a17 !important;
}

.gallery-item:hover {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.22) !important;
}

.gallery-item-overlay {
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.85)) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gallery-video-placeholder {
  color: #d8d4cc !important;
  text-align: center;
  padding: 1rem;
}

.gallery-video-placeholder i {
  color: var(--brand-orange) !important;
  font-size: 2.5rem !important;
}

.gallery-video-placeholder small {
  color: #807c74 !important;
  font-size: 0.72rem;
}

@media (max-width: 640px) {
  .gallery-hero {
    padding-top: 6.5rem !important;
    padding-bottom: 2rem !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .gallery-tab {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.82rem !important;
  }
}

/* Footer Google Map block */
.footer-map-block {
  width: 100%;
  margin: 0 0 1.5rem;
}

.footer-map-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4af37 !important;
  margin: 0 0 0.55rem 0 !important;
  font-weight: 700;
}

.footer-map-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  background: #0f0e0c;
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(0.15) contrast(0.95);
}

@media (min-width: 768px) {
  .footer-map-frame iframe {
    height: 260px;
  }
}

/* ——— Dark content sections (homepage style) ——— */
.section-light,
.section-muted,
.section-alt,
.section-brown,
.section-navy,
.section-dark {
  background: var(--site-bg-soft) !important;
  color: var(--site-text-muted) !important;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light .section-title,
.section-muted h2,
.section-alt h2,
.section-dark h2 {
  color: var(--site-heading) !important;
}

.section-light p,
.section-light .text-slate-600,
.section-light .text-slate-500,
.section-muted p,
.section-alt p {
  color: var(--site-text-muted) !important;
}

/* Light sections with white project cards */
.section-premium-light,
.projects-page-section {
  background: var(--site-cream) !important;
  color: var(--site-dark-text) !important;
}

.section-premium-light .section-title,
.section-premium-light h2,
.projects-page-section .section-title {
  color: var(--site-dark-text) !important;
}

.section-premium-light p,
.section-premium-light .projects-list-subtitle {
  color: #5c5a54 !important;
}

/* ——— Enquiry popup (always visible & on top) ——— */
.enquiry-popup-overlay {
  z-index: 10050 !important;
  pointer-events: none;
  background: rgba(10, 10, 10, 0.72) !important;
}

.enquiry-popup-overlay.is-open {
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.enquiry-popup-inner {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.enquiry-popup-inner h2 {
  color: #111111 !important;
}

.enquiry-popup-inner p,
.enquiry-popup-inner .text-slate-600 {
  color: #555555 !important;
}

.enquiry-popup-inner .form-input,
.enquiry-popup-inner select {
  background: #f8f8f8 !important;
  color: #111111 !important;
  border: 1px solid #d1d5db !important;
}

.enquiry-popup-inner .form-input::placeholder {
  color: #6b7280 !important;
}

.popup-close {
  color: #b8860b !important;
  background: #f5f0e6 !important;
}

/* Green Pinnacle: charcoal site shell, keep light content blocks */
body.gp-page {
  background: var(--site-bg) !important;
  color: var(--site-text-muted) !important;
}

body.gp-page .gp-intro,
body.gp-page .gp-stats,
body.gp-page .gp-about,
body.gp-page .gp-amenities,
body.gp-page .gp-location,
body.gp-page .gp-gallery,
body.gp-page #gp-why .section-heading,
body.gp-page .gp-why .gp-section-header .section-heading {
  color: #000000 !important;
}

/* ============================================================
   MEGA MENU DROPDOWN — readable on white header pill
   The new white header sets ALL .dynamic-island descendants to
   dark ink. That cascade bleeds into the dropdown links inside
   .mega-menu, where the panel itself is dark navy/glass.
   Force the dropdown back to a light-on-dark scheme.
   ============================================================ */
.site-header .mega-menu,
.site-header.scrolled .mega-menu {
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.97) 0%, rgba(20, 14, 8, 0.97) 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    0 0 36px rgba(255, 215, 0, 0.1) !important;
  color: #f1eedf !important;
}

.site-header .mega-menu .mega-menu-heading {
  color: #ffd700 !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28) !important;
  padding-bottom: 0.55rem;
  margin-bottom: 0.85rem;
}

.site-header .dynamic-island .mega-menu a,
.site-header:not(.scrolled) .dynamic-island .mega-menu a,
.site-header.scrolled .dynamic-island .mega-menu a,
.site-header .mega-menu .mega-menu-list a {
  color: #f1eedf !important;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  background: transparent !important;
  border-radius: 0.55rem;
  padding: 0.6rem 0.7rem !important;
  margin: 0 -0.7rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.site-header .dynamic-island .mega-menu a:hover,
.site-header:not(.scrolled) .dynamic-island .mega-menu a:hover,
.site-header.scrolled .dynamic-island .mega-menu a:hover,
.site-header .mega-menu .mega-menu-list a:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(255, 215, 0, 0.08) 100%) !important;
  color: #ffd700 !important;
  transform: translateX(2px);
  box-shadow: inset 2px 0 0 #ffd700, 0 6px 20px rgba(212, 175, 55, 0.15);
}

.site-header .mega-menu .mega-menu-list a .mega-arrow {
  color: #d4af37 !important;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.7rem;
}

.site-header .mega-menu .mega-menu-list a:hover .mega-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #ffd700 !important;
}

.site-header .mega-menu .mega-menu-foot {
  grid-column: 1 / -1;
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  text-align: center;
}

.site-header .mega-menu .mega-menu-foot a {
  color: #ffd700 !important;
  background: transparent !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  padding: 0.35rem 0.85rem !important;
  margin: 0 !important;
  display: inline-flex;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.site-header .mega-menu .mega-menu-foot a:hover {
  background: rgba(255, 215, 0, 0.14) !important;
  color: #ffd700 !important;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.28);
  transform: none;
}

.site-header .mega-menu .mega-col {
  min-width: 0;
}

.site-header .mega-menu.mega-menu-2col {
  min-width: min(620px, 92vw);
  padding: 1.4rem 1.4rem 1rem;
}

@media (max-width: 1023px) {
  .site-header .mega-menu.mega-menu-2col {
    min-width: min(540px, 92vw);
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Dropdown trigger chevron stays readable on white pill, gold on hover */
.site-header .dynamic-island .island-link-dropdown,
.site-header:not(.scrolled) .dynamic-island .island-link-dropdown {
  color: var(--brand-ink) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font: inherit;
}

.site-header .dynamic-island .island-link-dropdown:hover,
.site-header:not(.scrolled) .dynamic-island .island-link-dropdown:hover,
.site-header .dynamic-island .island-link-dropdown[aria-expanded="true"],
.island-dropdown-wrap.is-open .island-link-dropdown {
  color: var(--brand-orange) !important;
}

.site-header .dynamic-island .island-link-dropdown .fa-chevron-down {
  color: var(--brand-maroon) !important;
  font-size: 0.55rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.site-header .dynamic-island .island-link-dropdown:hover .fa-chevron-down,
.island-dropdown-wrap.is-open .island-link-dropdown .fa-chevron-down {
  color: var(--brand-orange) !important;
  transform: rotate(180deg);
}

/* ============================================================
   MOBILE MENU POLISH — improved spacing, hierarchy & touch
   ============================================================ */
@media (max-width: 767px) {
  .mobile-menu {
    background: linear-gradient(180deg, rgba(12, 10, 8, 0.985) 0%, rgba(22, 16, 10, 0.985) 100%) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55) !important;
    padding: 1.5rem 1.15rem !important;
  }

  .mobile-menu nav.flex.flex-col {
    gap: 0.15rem !important;
  }

  .mobile-menu .mobile-nav-link {
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    color: #f1eedf !important;
    border-radius: 0.75rem;
    position: relative;
    letter-spacing: 0.01em;
  }

  .mobile-menu .mobile-nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.3rem;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #d4af37, #ffd700, #d4af37, transparent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu .mobile-nav-link:hover,
  .mobile-menu .mobile-nav-link[data-page].active,
  .mobile-menu .mobile-nav-link.active {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #ffd700 !important;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.25);
  }

  .mobile-menu .mobile-nav-link:hover::after,
  .mobile-menu .mobile-nav-link.active::after {
    transform: scaleX(1);
  }

  .mobile-menu .text-gold-brand {
    color: #ffd700 !important;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
  }

  #mobile-close {
    color: #f1eedf !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: background 0.25s, color 0.25s, transform 0.25s;
  }

  #mobile-close:hover {
    background: rgba(212, 175, 55, 0.18);
    color: #ffd700 !important;
    transform: rotate(90deg);
  }

  .mobile-menu .btn-premium {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #ffd700 100%) !important;
    color: #0a0a0a !important;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.28) !important;
  }

  .mobile-menu .btn-premium i {
    color: #0a0a0a !important;
  }
}

/* ============================================================
   PROJECTS SHOWCASE — mobile spacing & typography tightening
   ============================================================ */
@media (max-width: 767px) {
  .showcase-section {
    padding: 2.5rem 0 2.75rem !important;
  }

  .showcase-section .section-title,
  .showcase-section h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.005em;
  }

  .showcase-section .projects-list-subtitle,
  .showcase-section p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .showcase-section .premium-featured-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .showcase-divider-block {
    margin: 1.25rem 0 !important;
  }
}

/* Hero image slide (replaces video) */
.hero-slide-image {
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  z-index: 0;
}

.hero-slide-image .hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85) contrast(1.05);
  transform: scale(1.02);
}

