/* ==========================================================================
   Pulse Moments — Homepage sections (features, clients, gallery, pricing,
   testimonials). WordPress-native equivalents of the shadcn components.
   ========================================================================== */
.pm-sec { padding: 70px 20px; }
.pm-sec--dark { background: #1c2333; color: #f5efe0; }
.pm-wrap { max-width: 1140px; margin: 0 auto; }
.pm-sec h2.pm-h { font-size: 34px; font-weight: 800; text-align: center; margin: 0 0 8px; letter-spacing:.3px; }
.pm-sec .pm-sub { text-align: center; color: #8a8f9a; margin: 0 auto 38px; max-width: 620px; }
.pm-sec--dark .pm-sub { color: #c9a24b; }
.pm-gold { color: #c9a24b; }

/* ---------- Features grid ---------- */
.pm-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pm-feature {
  border: 1px solid #e7e0cf; border-radius: 14px; padding: 26px 22px; background:#fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.pm-feature:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -24px rgba(28,35,51,.4); border-color:#c9a24b; }
.pm-feature .pm-ic {
  width: 48px; height: 48px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg,#1c2333,#34405c); color:#c9a24b; margin-bottom: 16px;
}
.pm-feature .pm-ic svg { width: 24px; height: 24px; }
.pm-feature h3 { font-size: 19px; font-weight: 700; color:#1c2333; margin: 0 0 8px; }
.pm-feature p { color:#666; margin:0; font-size: 15px; }

/* ---------- Marquee (clients + testimonials) ---------- */
.pm-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.pm-marquee__track { display: flex; width: max-content; gap: 18px; animation: pm-scroll var(--pm-dur,38s) linear infinite; }
.pm-marquee:hover .pm-marquee__track { animation-play-state: paused; }
.pm-marquee--rev .pm-marquee__track { animation-direction: reverse; }
@keyframes pm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* client chips */
.pm-client {
  flex: 0 0 auto; display:flex; align-items:center; gap:10px; padding: 14px 26px; border-radius: 12px;
  background: rgba(255,255,255,.06); border:1px solid rgba(201,162,75,.25); color:#f5efe0;
  font-weight: 700; letter-spacing:.5px; font-size: 18px; white-space: nowrap;
}
.pm-client .dot { width:10px; height:10px; border-radius:50%; background:#c9a24b; }

/* testimonial cards */
.pm-tcard {
  flex: 0 0 340px; background:#fff; border:1px solid #ece6d6; border-radius: 18px; padding: 22px;
  box-shadow: 0 12px 30px -20px rgba(28,35,51,.35);
}
.pm-tcard__top { display:flex; align-items:center; gap:12px; margin-bottom: 12px; }
.pm-avatar { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff; font-size:18px; flex:0 0 auto; }
.pm-tcard h4 { margin:0; font-size:16px; color:#1c2333; }
.pm-tcard .role { font-size:13px; color:#8a8f9a; }
.pm-tcard p { color:#444; font-size:14.5px; margin: 0 0 12px; line-height:1.55; }
.pm-stars { color:#e8b53d; letter-spacing:2px; font-size:15px; }

/* ---------- 3D Photo carousel ---------- */
.pm-coverflow { position: relative; height: 430px; perspective: 1200px; display:flex; align-items:center; justify-content:center; }
.pm-cf-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.pm-slide {
  position:absolute; top:50%; left:50%; width: 240px; height: 380px; margin:-190px 0 0 -120px;
  border-radius: 22px; overflow:hidden; border:2px solid rgba(255,255,255,.15);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .55s cubic-bezier(.25,.8,.25,1), opacity .55s, filter .55s;
}
.pm-slide img { width:100%; height:100%; object-fit: cover; display:block; }
.pm-cf-btn {
  position:absolute; top:50%; transform: translateY(-50%); z-index: 30; width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(201,162,75,.6); background: rgba(28,35,51,.6); color:#f5efe0; cursor:pointer; font-size:20px;
  backdrop-filter: blur(6px); display:flex; align-items:center; justify-content:center; transition: background .2s;
}
.pm-cf-btn:hover { background:#c9a24b; color:#1c2333; }
.pm-cf-prev { left: 12px; } .pm-cf-next { right: 12px; }

/* ---------- Pricing ---------- */
.pm-toggle { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom: 34px; }
.pm-switch { position: relative; width: 54px; height: 28px; background:#c9c2b0; border-radius: 999px; cursor:pointer; transition: background .25s; }
.pm-switch.on { background:#c9a24b; }
.pm-switch span { position:absolute; top:3px; left:3px; width:22px; height:22px; background:#fff; border-radius:50%; transition: transform .25s; }
.pm-switch.on span { transform: translateX(26px); }
.pm-save { font-size:13px; color:#c9a24b; font-weight:700; }
.pm-plans { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items:start; }
.pm-plan { position:relative; border:1px solid #e7e0cf; border-radius:16px; background:#fff; padding: 28px 22px; text-align:center; transition: transform .3s, box-shadow .3s; }
.pm-plan:hover { transform: translateY(-6px); box-shadow:0 24px 50px -26px rgba(28,35,51,.45); }
.pm-plan.rec { border-color:#c9a24b; box-shadow:0 0 0 2px rgba(201,162,75,.3); transform: scale(1.03); }
.pm-badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:#c9a24b; color:#1c2333; font-size:12px; font-weight:700; padding:4px 12px; border-radius:999px; }
.pm-plan h3 { font-size:20px; color:#1c2333; margin:0 0 4px; }
.pm-plan .desc { font-size:13px; color:#8a8f9a; min-height:34px; }
.pm-price { font-size:34px; font-weight:800; color:#1c2333; margin: 12px 0 2px; }
.pm-price small { font-size:14px; font-weight:600; color:#8a8f9a; }
.pm-plan ul { list-style:none; padding:0; margin: 18px 0 0; text-align:left; }
.pm-plan li { display:flex; gap:8px; align-items:flex-start; font-size:14px; color:#555; margin-bottom:9px; }
.pm-plan li .ok { color:#1c8a4a; font-weight:800; }
.pm-plan li .no { color:#c0392b; font-weight:800; }
.pm-btn { display:inline-block; width:100%; margin-top:18px; padding:11px 0; border-radius:8px; font-weight:700; text-decoration:none; transition: transform .2s, box-shadow .2s; }
.pm-btn--solid { background:#1c2333; color:#f5efe0; }
.pm-btn--ghost { background:transparent; color:#1c2333; border:1.5px solid #1c2333; }
.pm-btn:hover { transform: translateY(-2px); box-shadow:0 12px 24px -12px rgba(201,162,75,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pm-features { grid-template-columns: 1fr 1fr; }
  .pm-plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pm-features, .pm-plans { grid-template-columns: 1fr; }
  .pm-slide { width: 200px; height: 320px; margin:-160px 0 0 -100px; }
  .pm-coverflow { height: 360px; }
}

/* ================= Spline 3D Hero ================= */
.pm-hero3d { background: radial-gradient(120% 100% at 80% 0%, #2a3450 0%, #1c2333 55%, #141a28 100%); color:#f5efe0; overflow:hidden; }
.pm-hero3d__inner { max-width: 1200px; margin:0 auto; display:flex; align-items:center; min-height: 560px; }
.pm-hero3d__text { flex:1; padding: 60px 30px; }
.pm-hero3d__logo { width: 92px; height:auto; margin-bottom: 18px; }
.pm-hero3d__text h1 { font-size: 52px; line-height:1.05; font-weight:800; margin:0 0 18px; }
.pm-hero3d__text h1 span { color:#c9a24b; }
.pm-hero3d__text p { font-size:18px; color:#cfd3da; max-width: 520px; margin:0 0 26px; }
.pm-hero3d__btns { display:flex; gap:16px; flex-wrap:wrap; margin-top:30px; }
/* hero buttons — auto width + strong contrast (beats dark.css link rules) */
.pm-hero3d__btns a.pm-btn {
  width:auto !important; margin-top:0 !important;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 32px !important; border-radius:12px !important;
  font-size:15px; font-weight:700; letter-spacing:.2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.pm-hero3d__btns a.pm-btn--solid {
  background:linear-gradient(135deg,#c9a24b,#e2c074) !important; color:#11161f !important;
  border:1.5px solid transparent !important; box-shadow:0 14px 32px -12px rgba(201,162,75,.6);
}
.pm-hero3d__btns a.pm-btn--solid:hover { transform:translateY(-3px); box-shadow:0 22px 42px -12px rgba(201,162,75,.78); }
.pm-hero3d__btns a.pm-btn--ghostlight {
  background:rgba(201,162,75,.06) !important; color:#e2c074 !important;
  border:1.5px solid rgba(201,162,75,.7) !important; box-shadow:none;
}
.pm-hero3d__btns a.pm-btn--ghostlight:hover {
  background:linear-gradient(135deg,#c9a24b,#e2c074) !important; color:#11161f !important;
  border-color:transparent !important; transform:translateY(-3px); box-shadow:0 18px 38px -14px rgba(201,162,75,.62);
}
.pm-btn--ghostlight { background:transparent; color:#f5efe0; border:1.5px solid #c9a24b; }
.pm-hero3d__scene { flex:1; height: 560px; position:relative; }
.pm-hero3d__scene spline-viewer { width:100%; height:100%; display:block; }
@media (max-width: 900px){
  .pm-hero3d__inner { flex-direction:column; }
  .pm-hero3d__scene { width:100%; height: 380px; }
  .pm-hero3d__text { text-align:center; padding:46px 22px 10px; }
  .pm-hero3d__text p { margin-left:auto; margin-right:auto; }
  .pm-hero3d__btns { justify-content:center; }
  .pm-hero3d__text h1 { font-size:38px; }
}

/* ================= Custom Sticky Header ================= */
.pm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 88px;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
/* transparent mode (hero pages) */
.pm-header--hero { background: transparent; }
.pm-header--hero.pm-header--scrolled,
.pm-header:not(.pm-header--hero) {
  background: rgba(20,26,40,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.pm-header__inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 28px;
  padding: 0 24px;
}
/* Logo */
.pm-header__logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.pm-header__logo img { width: 104px; height: 104px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.pm-header__wordmark { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 700; color: #f5efe0; letter-spacing: -.5px; }
.pm-header__wordmark strong { color: #c9a24b; }

/* Nav */
.pm-nav { flex: 1; display: flex; justify-content: center; }
.pm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.pm-nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 13px; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 500;
  color: rgba(245,239,224,.82); text-decoration: none;
  transition: color .2s, background .2s;
}
.pm-nav__link:hover, .pm-nav__link--active { color: #f5efe0; background: rgba(255,255,255,.08); }
.pm-nav__link--active { color: #c9a24b; }

/* Services dropdown */
.pm-nav__item--drop { position: relative; }
.pm-nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 220px; background: #1a2236; border: 1px solid rgba(201,162,75,.2);
  border-radius: 14px; padding: 8px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s; transform: translateX(-50%) translateY(-6px);
}
.pm-nav__item--drop:hover .pm-nav__dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.pm-nav__drop-link {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #aab0bd; text-decoration: none;
  transition: background .15s, color .15s;
}
.pm-nav__drop-link:hover { background: rgba(201,162,75,.1); color: #c9a24b; }

/* Book a Call CTA */
.pm-header__end { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.pm-header__cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 10px;
  background: linear-gradient(135deg, #c9a24b, #e2c074);
  color: #141a28 !important; font-weight: 700; font-size: 14px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 20px -8px rgba(201,162,75,.6);
  transition: transform .2s, box-shadow .2s;
  font-family: 'Inter', sans-serif;
}
.pm-header__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(201,162,75,.7); }

/* Login (ghost) button */
.pm-header__login {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  background: rgba(201,162,75,.08); border: 1px solid rgba(201,162,75,.4);
  color: #e2c074 !important; font-weight: 600; font-size: 14px;
  text-decoration: none; white-space: nowrap; font-family: 'Inter', sans-serif;
  transition: background .2s, border-color .2s, transform .2s;
}
.pm-header__login:hover { background: rgba(201,162,75,.18); border-color: #c9a24b; transform: translateY(-2px); }
.pm-mobile-login {
  display: block; text-align: center; margin-top: 10px; padding: 12px;
  border-radius: 10px; border: 1px solid rgba(201,162,75,.4);
  color: #e2c074 !important; font-weight: 600; text-decoration: none;
}

/* Hamburger */
.pm-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; border: none; background: transparent; cursor: pointer;
  border-radius: 8px; padding: 6px;
}
.pm-hamburger span { display: block; height: 2px; background: #f5efe0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.pm-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pm-hamburger.open span:nth-child(2) { opacity: 0; }
.pm-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.pm-mobile-nav {
  display: none; position: absolute; top: 68px; left: 0; right: 0;
  background: rgba(20,26,40,.97); backdrop-filter: blur(16px);
  padding: 16px 20px 24px; border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .25s, opacity .25s;
}
.pm-mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pm-mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.pm-mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.pm-mobile-nav a { display: block; padding: 13px 4px; color: #d4d8e2; text-decoration: none; font-size: 15px; font-weight: 500; }
.pm-mobile-nav a:hover { color: #c9a24b; }
.pm-header__cta--mob { width: 100%; justify-content: center; margin-top: 4px; }

/* Header spacer for non-hero pages */
.pm-header-spacer { height: 88px; }

/* Responsive */
@media (max-width: 860px) {
  .pm-nav { display: none; }
  .pm-hamburger { display: flex; }
  .pm-mobile-nav { display: block; }
  .pm-header__cta:not(.pm-header__cta--mob) { display: none; }
  .pm-header__login { display: none; }
}

/* ================= Footer Stats Band ================= */
.pm-footer-stats {
  background: linear-gradient(135deg, #1c2333 0%, #141a28 100%);
  border-top: 1px solid rgba(201,162,75,.15);
  border-bottom: 1px solid rgba(201,162,75,.15);
  padding: 36px 22px;
}
.pm-footer-stats__inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.pm-stat { text-align: center; padding: 10px 48px; }
.pm-stat__num {
  display: block; font-family: 'Fraunces', Georgia, serif;
  font-size: 42px; font-weight: 700; color: #c9a24b; line-height: 1;
  text-shadow: 0 0 32px rgba(201,162,75,.35);
}
.pm-stat__label { display: block; font-size: 13px; font-weight: 600; color: #8a8f9a; letter-spacing: .8px; text-transform: uppercase; margin-top: 4px; }
.pm-stat__div { width: 1px; height: 44px; background: rgba(255,255,255,.1); flex: 0 0 auto; }

/* ================= Custom Footer (premium) ================= */
.pm-footer {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(201,162,75,.10), transparent 60%),
    linear-gradient(180deg, #0f1622 0%, #0b101a 100%);
  color: #cfd3da; padding: 44px 22px 26px; position: relative;
}

/* --- CTA strip --- */
.pm-footer__cta { max-width: 1180px; margin: 0 auto; }
.pm-footer__cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  margin: 14px 0 6px; padding: 34px 42px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(28,35,51,.95), rgba(17,22,34,.95));
  border: 1px solid rgba(201,162,75,.28);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
}
.pm-footer__cta-eyebrow { font: 700 11px 'Inter',sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #c9a24b; }
.pm-footer__cta-text h3 { font: 700 28px/1.2 'Fraunces',serif; color: #f5efe0; margin: 8px 0 6px; }
.pm-footer__cta-text h3 em { color: #e2c074; font-style: italic; }
.pm-footer__cta-text p { color: #9aa3b2; font-size: 14.5px; margin: 0; max-width: 460px; }
.pm-footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pm-footer__cta-btn {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 12px;
  font: 700 15px 'Inter',sans-serif; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  background: linear-gradient(135deg,#c9a24b,#e2c074); color: #11161f !important;
  box-shadow: 0 14px 30px -14px rgba(201,162,75,.7);
}
.pm-footer__cta-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(201,162,75,.8); }
.pm-footer__cta-btn--ghost { background: transparent; color: #e2c074 !important; border: 1.5px solid rgba(201,162,75,.55); box-shadow: none; }
.pm-footer__cta-btn--ghost:hover { background: rgba(201,162,75,.12); border-color: #c9a24b; }

/* --- Grid --- */
.pm-footer__logo { width: 144px; height: auto; margin-bottom: 18px; display: block; filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.pm-footer__grid {
  max-width: 1180px; margin: 0 auto; padding-top: 54px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.pm-footer__brand p { font-size: 14px; line-height: 1.7; color: #8d97aa; max-width: 320px; margin: 0; }
.pm-footer__brand strong { color: #d4d8e2; }
.pm-footer__reach { list-style: none; padding: 0; margin: 20px 0 0; }
.pm-footer__reach li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #9aa3b2; margin-bottom: 11px; }
.pm-footer__reach li svg { color: #c9a24b; flex: 0 0 auto; }
.pm-footer__reach a { color: #9aa3b2; text-decoration: none; transition: color .2s; }
.pm-footer__reach a:hover { color: #e2c074; }
.pm-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.pm-footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(201,162,75,.3); color: #c9a24b;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .2s;
}
.pm-footer__social a:hover { background: linear-gradient(135deg,#c9a24b,#e2c074); color: #11161f; border-color: transparent; transform: translateY(-3px); }
.pm-footer__col h4 { color: #f5efe0; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin: 4px 0 20px; }
.pm-footer__col ul { list-style: none; padding: 0; margin: 0; }
.pm-footer__col li { margin-bottom: 12px; font-size: 14px; }
.pm-footer__col a { color: #9aa3b2; text-decoration: none; transition: color .2s, padding .2s; position: relative; }
.pm-footer__col a:hover { color: #e2c074; padding-left: 6px; }
.pm-footer__cta-link { font-weight: 700 !important; color: #c9a24b !important; }

/* --- Bottom bar --- */
.pm-footer__bar {
  max-width: 1180px; margin: 50px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(201,162,75,.14);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; font-size: 13px; color: #6b7280;
}
.pm-footer__bar nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm-footer__bar nav a { color: #8a93a6; text-decoration: none; transition: color .2s; }
.pm-footer__bar nav a:hover { color: #e2c074; }
.pm-footer__bar nav span { opacity: .4; }

@media (max-width: 980px) {
  .pm-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .pm-footer__brand { grid-column: 1 / -1; }
  .pm-footer__cta-inner { padding: 28px 26px; }
  .pm-footer__cta-text h3 { font-size: 24px; }
}
@media (max-width: 860px) { .pm-stat { padding: 10px 28px; } .pm-stat__num { font-size: 34px; } }
@media (max-width: 560px) {
  .pm-footer__grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .pm-footer__brand { text-align: left; }
  .pm-footer__bar { flex-direction: column; text-align: center; }
  .pm-stat__div { display: none; }
  .pm-footer-stats__inner { gap: 8px; }
  .pm-footer__cta-actions { width: 100%; }
  .pm-footer__cta-btn { flex: 1; justify-content: center; }
}

/* ===== Homepage polish fixes ===== */
/* hide redundant page-title hero on the front page */
.home .entry-hero-container-inner,
.home .entry-hero,
.home header.entry-header,
.home .page-title { display: none !important; }
/* all pages: Kadence header hidden (replaced by pm-header) */
.site-header, .header-wrap, #masthead { display: none !important; }
/* inner pages: push content below sticky header */
body:not(.home) .content-area { padding-top: 0; }

/* hero layering so 3D scene never overlaps the text */
.pm-hero3d__inner { position: relative; }
.pm-hero3d__text { position: relative; z-index: 3; }
.pm-hero3d__scene { position: relative; z-index: 1; }
.pm-hero3d__text h1 { text-wrap: balance; }
@media (min-width: 901px){
  .pm-hero3d__text { max-width: 560px; padding-right: 10px; }
  .pm-hero3d__scene { min-width: 0; }
}

/* ===== FULL-WIDTH layout ===== */
/* Homepage: let custom sections span edge-to-edge */
.home .content-container.site-container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.home .entry-content-wrap { padding: 0 !important; }
.home .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.home .entry.single-entry { box-shadow: none !important; }
/* leftover Gutenberg blocks on home stay centered & readable */
.home .entry-content > .wp-block-group,
.home .entry-content > .wp-block-latest-posts {
  max-width: 1180px; margin-left: auto !important; margin-right: auto !important;
  padding-left: 20px; padding-right: 20px; box-sizing: border-box; width: auto;
}
/* Wider content across the whole site (inner pages) */
:root { --global-content-narrow-width: 1100px; }
.content-width-narrow .content-container.site-container { max-width: 1180px; }
/* remove boxed card shadow site-wide */
.entry.single-entry, .entry.loop-entry { box-shadow: none !important; }
