:root{
  --pms-black:#111315;
  --pms-blue:#1E88FF;
  --pms-sky:#4FC3FF;
  --pms-white:#FFFFFF;
  --pms-muted:#C8D4E2;
}

body.pms-warranty-active{
  background:#07111B!important;
  overflow-x:hidden!important;
}

/* Keep Kadence header/footer visible while removing the default page shell */
body.pms-warranty-active .entry-hero,
body.pms-warranty-active .entry-hero-container-inner,
body.pms-warranty-active .entry-header,
body.pms-warranty-active .page-header,
body.pms-warranty-active .entry-title,
body.pms-warranty-active .page-title,
body.pms-warranty-active .wp-block-post-title,
body.pms-warranty-active h1.entry-title{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

body.pms-warranty-active #primary,
body.pms-warranty-active #main,
body.pms-warranty-active .site-main,
body.pms-warranty-active .site-content,
body.pms-warranty-active .content-area,
body.pms-warranty-active .content-container,
body.pms-warranty-active .content-bg,
body.pms-warranty-active .entry,
body.pms-warranty-active article,
body.pms-warranty-active .entry-content-wrap,
body.pms-warranty-active .entry-content,
body.pms-warranty-active .wp-block-post-content,
body.pms-warranty-active .wp-site-blocks,
body.pms-warranty-active .wp-block-group{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#07111B!important;
  box-shadow:none!important;
}

body.pms-warranty-active .content-wrap,
body.pms-warranty-active .site-container,
body.pms-warranty-active .entry-content{
  max-width:none!important;
}

body.pms-warranty-active .entry-content > *,
body.pms-warranty-active .wp-block-post-content > *{
  max-width:none!important;
}

body.pms-warranty-active #page,
body.pms-warranty-active #inner-wrap,
body.pms-warranty-active #content,
body.pms-warranty-active .site,
body.pms-warranty-active .site-container,
body.pms-warranty-active .content-wrap,
body.pms-warranty-active .content-width-fullwidth,
body.pms-warranty-active .wp-site-blocks,
body.pms-warranty-active .entry-content-wrap,
body.pms-warranty-active .entry-content,
body.pms-warranty-active .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  background:#07111B!important;
}

body.pms-warranty-active #main,
body.pms-warranty-active .site-main,
body.pms-warranty-active .content-area{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#07111B!important;
}

body.pms-warranty-active .entry-content > .pms-warranty-page,
body.pms-warranty-active .wp-block-post-content > .pms-warranty-page,
body.pms-warranty-active .entry-content > .pms-warranty-full-bleed,
body.pms-warranty-active .wp-block-post-content > .pms-warranty-full-bleed{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  left:auto!important;
}

body.pms-warranty-active .pms-ul-header-spacer{
  display:none!important;
  height:0!important;
  min-height:0!important;
}

.pms-warranty-full-bleed{
  position:relative!important;
  left:auto!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}

.pms-warranty-page{
  width:100%!important;
  max-width:none!important;
  min-height:100vh;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:var(--pms-white);
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(30,136,255,.18), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(79,195,255,.12), transparent 26%),
    linear-gradient(180deg,#06101A 0%,#07111B 50%,#0D1117 100%);
}

.pms-warranty-page *{
  box-sizing:border-box!important;
}

.pms-warranty-page::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.28;
  pointer-events:none;
  background:
    linear-gradient(rgba(79,195,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,255,.06) 1px, transparent 1px);
  background-size:72px 72px;
}

.pms-warranty-bg{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}

.pms-warranty-bolt{
  position:absolute;
  width:520px;
  height:180px;
  opacity:.10;
  background:linear-gradient(90deg, transparent, rgba(30,136,255,.35), rgba(255,255,255,.82), rgba(79,195,255,.45), transparent);
  clip-path:polygon(0 54%,17% 54%,24% 18%,31% 67%,45% 67%,52% 31%,60% 74%,75% 74%,82% 42%,100% 58%,100% 69%,82% 54%,75% 86%,60% 86%,52% 43%,45% 78%,31% 78%,24% 30%,17% 65%,0 65%);
  filter:drop-shadow(0 0 10px rgba(79,195,255,.85)) drop-shadow(0 0 34px rgba(30,136,255,.6));
  animation:pms-warranty-bolt 11s steps(1,end) infinite;
}

.pms-warranty-bolt-a{
  left:-100px;
  top:120px;
  transform:rotate(-12deg);
}

.pms-warranty-bolt-b{
  right:-110px;
  top:150px;
  transform:rotate(12deg) scaleX(-1);
  animation-delay:3.7s;
}

@keyframes pms-warranty-bolt{
  0%,55%,60%,100%{opacity:.08}
  56%{opacity:.62}
  57%{opacity:.22}
  58%{opacity:.46}
}

.pms-warranty-container{
  width:min(1180px, calc(100% - 72px));
  margin:0 auto;
  position:relative;
  z-index:3;
}

/* HERO */
.pms-warranty-hero{
  position:relative;
  z-index:2;
  padding:62px 0 44px;
  text-align:center;
}

.pms-warranty-kicker,
.pms-warranty-label{
  margin:0 0 16px;
  color:var(--pms-sky);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
}

.pms-warranty-hero h1,
.pms-warranty-section-head h2,
.pms-warranty-process-copy h2,
.pms-warranty-cta h2{
  margin:0;
  color:#FFFFFF;
  font-weight:500;
  line-height:1.05;
  letter-spacing:-.045em;
}

.pms-warranty-hero h1{
  max-width:940px;
  margin:0 auto;
  font-size:clamp(42px, 4.9vw, 70px);
}

.pms-warranty-lead{
  max-width:820px;
  margin:24px auto 0;
  color:#D5DFEA;
  font-size:18px;
  line-height:1.62;
}

.pms-warranty-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.pms-warranty-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 22px;
  border-radius:999px;
  color:#fff!important;
  text-decoration:none!important;
  font-size:15px;
  font-weight:900;
  transition:.2s ease;
}

.pms-warranty-btn-primary{
  background:linear-gradient(135deg,var(--pms-blue),var(--pms-sky));
  box-shadow:0 0 24px rgba(30,136,255,.36);
}

.pms-warranty-btn-secondary{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(79,195,255,.30);
}

.pms-warranty-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
}

/* SECTIONS */
.pms-warranty-section{
  position:relative;
  z-index:2;
  padding:62px 0;
}

.pms-warranty-section-head{
  max-width:820px;
  margin:0 auto 40px;
  text-align:center;
}

.pms-warranty-section-head h2,
.pms-warranty-process-copy h2,
.pms-warranty-cta h2{
  font-size:clamp(34px,3.6vw,52px);
}

.pms-warranty-section-head p,
.pms-warranty-process-copy p,
.pms-warranty-cta p{
  max-width:760px;
  margin:18px auto 0;
  color:var(--pms-muted);
  font-size:17px;
  line-height:1.6;
}

/* CARD BASE */
.pms-warranty-card,
.pms-warranty-policy-card,
.pms-warranty-step,
.pms-warranty-faq{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:
    radial-gradient(circle at 14% 10%, rgba(30,136,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(5,18,31,.96), rgba(4,12,22,.96));
  border:1px solid rgba(30,136,255,.58);
  box-shadow:
    0 22px 64px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 0 42px rgba(30,136,255,.045);
}

.pms-warranty-card::before,
.pms-warranty-policy-card::before,
.pms-warranty-step::before,
.pms-warranty-faq::before{
  content:"";
  position:absolute;
  top:0;
  left:44px;
  width:104px;
  height:2px;
  background:var(--pms-blue);
  opacity:.78;
}

/* WARRANTY PERIOD CARDS */
.pms-warranty-cards{
  width:min(1120px,100%);
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.pms-warranty-card{
  min-height:270px;
}

.pms-warranty-card-inner{
  padding:36px 44px 40px;
}

.pms-warranty-badge,
.pms-warranty-policy-card span,
.pms-warranty-step span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:50px;
  height:42px;
  margin:0 0 20px;
  border-radius:12px;
  color:#FFFFFF;
  background:rgba(5,24,42,.88);
  border:1px solid var(--pms-blue);
  box-shadow:0 0 18px rgba(30,136,255,.28), inset 0 0 18px rgba(30,136,255,.12);
  font-size:18px;
  line-height:1;
  font-weight:900;
}

.pms-warranty-term{
  margin:0 0 10px!important;
  color:var(--pms-sky)!important;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900;
}

.pms-warranty-card h3,
.pms-warranty-policy-card h3,
.pms-warranty-step h3{
  margin:0 0 14px;
  color:#FFFFFF;
  font-size:22px;
  line-height:1.25;
  font-weight:800;
}

.pms-warranty-card p:not(.pms-warranty-term),
.pms-warranty-policy-card p,
.pms-warranty-step p{
  margin:0;
  color:#D7E0EA;
  font-size:16.5px;
  line-height:1.55;
}

/* POLICY BAND */
.pms-warranty-band{
  position:relative;
  z-index:2;
  padding:72px 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(30,136,255,.13), transparent 30%),
    linear-gradient(180deg,#0B1622,#0D1117);
  border-top:1px solid rgba(30,136,255,.18);
  border-bottom:1px solid rgba(30,136,255,.18);
}

.pms-warranty-policy-grid{
  width:min(1120px,100%);
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.pms-warranty-policy-card{
  min-height:245px;
}

.pms-warranty-policy-inner{
  padding:36px 44px 40px;
}

/* PROCESS */
.pms-warranty-process-grid{
  width:min(1120px,100%);
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(320px,.82fr) minmax(540px,1.18fr);
  gap:48px;
  align-items:start;
}

.pms-warranty-process-copy{
  padding-top:8px;
}

.pms-warranty-process-copy p{
  margin-left:0;
  margin-right:0;
}

.pms-warranty-steps{
  display:grid;
  gap:18px;
}

.pms-warranty-step-inner{
  padding:36px 44px 40px;
}

.pms-warranty-step span{
  background:linear-gradient(135deg,var(--pms-blue),var(--pms-sky));
  border:0;
  box-shadow:0 0 20px rgba(30,136,255,.3);
  font-size:20px;
}

/* FAQ */
.pms-warranty-faq-section{
  padding-top:40px;
}

.pms-warranty-faq-wrap{
  width:min(920px,100%);
  margin:0 auto;
  display:grid;
  gap:16px;
}

.pms-warranty-faq{
  padding:0;
}

.pms-warranty-faq summary{
  cursor:pointer;
  list-style:none;
  padding:26px 44px;
  color:#fff;
  font-size:19px;
  line-height:1.35;
  font-weight:900;
}

.pms-warranty-faq summary::-webkit-details-marker{
  display:none;
}

.pms-warranty-faq summary::after{
  content:"+";
  float:right;
  color:var(--pms-sky);
  font-size:24px;
  line-height:1;
}

.pms-warranty-faq[open] summary::after{
  content:"–";
}

.pms-warranty-faq p{
  margin:0;
  padding:0 44px 28px;
  color:#D7E0EA;
  font-size:16.5px;
  line-height:1.6;
}

/* CTA */
.pms-warranty-cta{
  position:relative;
  z-index:2;
  padding:66px 0 84px;
  text-align:center;
}

.pms-warranty-cta .pms-warranty-btn{
  margin-top:28px;
}

/* RESPONSIVE */
@media(max-width:980px){
  .pms-warranty-container{
    width:min(100% - 44px,1180px);
  }

  .pms-warranty-cards,
  .pms-warranty-policy-grid{
    grid-template-columns:1fr 1fr;
    max-width:820px;
  }

  .pms-warranty-process-grid{
    grid-template-columns:1fr;
    max-width:820px;
    gap:30px;
  }
}

@media(max-width:640px){
  .pms-warranty-container{
    width:min(100% - 30px,1180px);
  }

  .pms-warranty-hero{
    padding:48px 0 34px;
  }

  .pms-warranty-actions{
    flex-direction:column;
  }

  .pms-warranty-btn{
    width:100%;
  }

  .pms-warranty-cards,
  .pms-warranty-policy-grid{
    grid-template-columns:1fr;
    max-width:430px;
  }

  .pms-warranty-card,
  .pms-warranty-policy-card{
    min-height:auto;
  }

  .pms-warranty-card-inner,
  .pms-warranty-policy-inner,
  .pms-warranty-step-inner{
    padding:30px 32px 34px;
  }

  .pms-warranty-card::before,
  .pms-warranty-policy-card::before,
  .pms-warranty-step::before,
  .pms-warranty-faq::before{
    left:32px;
  }

  .pms-warranty-badge,
  .pms-warranty-policy-card span,
  .pms-warranty-step span{
    width:48px;
    height:40px;
    margin-bottom:20px;
  }

  .pms-warranty-faq summary{
    padding:24px 32px;
    font-size:17px;
  }

  .pms-warranty-faq p{
    padding:0 32px 26px;
  }
}


/* PMS Warranty v1.2
   Extra policy cards added. Keep spacing clean. */
.pms-warranty-policy-card{
  min-height:230px!important;
}

.pms-warranty-policy-inner{
  padding:36px 44px 40px!important;
}

@media(max-width:980px){
  .pms-warranty-policy-grid{
    grid-template-columns:1fr 1fr!important;
  }
}

@media(max-width:640px){
  .pms-warranty-policy-grid{
    grid-template-columns:1fr!important;
  }
}

/* PMS Warranty v1.4
   Force hero text into true centre alignment. */
.pms-warranty-hero .pms-warranty-container{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(1180px, calc(100% - 72px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

.pms-warranty-hero .pms-warranty-kicker,
.pms-warranty-hero h1,
.pms-warranty-hero .pms-warranty-lead,
.pms-warranty-hero .pms-warranty-actions{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

.pms-warranty-hero h1{
  display:block!important;
  width:100%!important;
  max-width:980px!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
  text-wrap:balance;
}

.pms-warranty-hero .pms-warranty-lead{
  width:100%!important;
  max-width:820px!important;
}

.pms-warranty-hero .pms-warranty-actions{
  width:100%!important;
  justify-content:center!important;
}

@media(max-width:640px){
  .pms-warranty-hero .pms-warranty-container{
    width:min(100% - 30px, 1180px)!important;
  }
}
