/* ============================================================
   PROSPERA V26 — Premium header/footer Services modal + real footer
   Purpose: keep the footer as a true site footer and make Header/Footer
   Services open one refined service-category modal without clipping.
============================================================ */
:root{
  --prospera-v26-ink:#052b36;
  --prospera-v26-deep:#062b36;
  --prospera-v26-deeper:#031f28;
  --prospera-v26-line:rgba(255,255,255,.12);
  --prospera-v26-line-strong:rgba(255,255,255,.18);
  --prospera-v26-soft:rgba(255,255,255,.70);
  --prospera-v26-muted:rgba(255,255,255,.58);
  --prospera-v26-copper:#ef8f5a;
  --prospera-v26-copper-2:#d87342;
  --prospera-v26-glass:rgba(255,255,255,.055);
  --prospera-v26-glass-2:rgba(255,255,255,.085);
  --prospera-v26-radius:30px;
  --prospera-v26-shadow:0 28px 90px rgba(0,0,0,.34);
}

/* Disable the old clipped mega menu. The premium modal is the only Services experience. */
html body .site-header .services-mega-menu,
html body .site-header .nav-dropdown:hover .services-mega-menu,
html body .site-header .nav-dropdown:focus-within .services-mega-menu,
html body .site-header .nav-dropdown.is-open .services-mega-menu{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Header Services trigger — button-like, minimal, with a luxury micro-state. */
html body .site-header .nav-dropdown{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  position:relative !important;
}
html body .site-header .nav-dropdown-link,
html body .site-header .nav-dropdown-toggle{
  cursor:pointer !important;
}
html body .site-header .nav-dropdown-link[aria-haspopup="dialog"]{
  position:relative !important;
}
html body .site-header .nav-dropdown-link[aria-haspopup="dialog"]::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:10px;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--prospera-v26-copper),var(--prospera-v26-copper-2));
  transform:translateX(-50%);
  transition:width .2s ease;
}
html body .site-header .nav-dropdown-link:hover::after,
html body .site-header .nav-dropdown-link:focus-visible::after,
html body .site-header .nav-dropdown-link[aria-expanded="true"]::after{
  width:30px;
}
html body .site-header .nav-dropdown-toggle[aria-haspopup="dialog"] i{
  transition:transform .2s ease,color .2s ease;
}
html body .site-header .nav-dropdown-toggle[aria-expanded="true"] i{
  transform:rotate(180deg);
  color:var(--prospera-v26-copper);
}

/* A true footer, not a duplicated header. */
html body .prospera-footer-v26{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(239,143,90,.10), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(255,255,255,.07), transparent 36%),
    linear-gradient(180deg,#082f3b 0%, #062934 32%, #031f28 100%) !important;
  border-top:1px solid rgba(239,143,90,.26);
  color:#fff;
  padding:clamp(58px, 7vw, 110px) 0 28px !important;
}
html body .prospera-footer-v26::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.6),rgba(0,0,0,.08));
}
html body .prospera-footer-v26::after{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(88vw,1480px);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(239,143,90,.64),transparent);
}
html body .footer-v26-shell{
  position:relative;
  z-index:1;
}
html body .footer-v26-main{
  display:grid;
  grid-template-columns:minmax(260px,1.18fr) minmax(180px,.72fr) minmax(260px,.9fr) minmax(260px,.92fr);
  gap:clamp(22px,3vw,48px);
  align-items:start;
}
html body .footer-v26-brand,
html body .footer-v26-nav,
html body .footer-v26-contact,
html body .footer-v26-cta{
  min-width:0;
}
html body .footer-v26-logo{
  display:inline-flex;
  width:150px;
  max-width:100%;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
html body .footer-v26-logo img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
html body .footer-v26-brand p,
html body .footer-v26-cta p{
  margin:22px 0 0;
  color:var(--prospera-v26-soft);
  font-size:clamp(.95rem,.72vw + .74rem,1.08rem);
  line-height:1.78;
  max-width:430px;
}
html body .footer-v26-contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
html body .footer-v26-contact-actions a,
html body .footer-v26-estimate{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:900;
  font-size:.86rem;
  letter-spacing:.015em;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg,var(--prospera-v26-copper),var(--prospera-v26-copper-2));
  box-shadow:0 16px 34px rgba(216,115,66,.22);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
html body .footer-v26-contact-actions a:nth-child(2){
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
}
html body .footer-v26-contact-actions a:hover,
html body .footer-v26-estimate:hover{
  transform:translateY(-2px);
  filter:saturate(1.08);
  box-shadow:0 22px 42px rgba(216,115,66,.30);
}
html body .footer-v26-nav h2,
html body .footer-v26-contact h2,
html body .footer-v26-cta h2{
  margin:0 0 18px;
  color:#fff;
  font-size:.83rem;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
html body .footer-v26-nav h2::after,
html body .footer-v26-contact h2::after{
  content:"";
  display:block;
  width:28px;
  height:2px;
  border-radius:999px;
  margin-top:13px;
  background:linear-gradient(90deg,var(--prospera-v26-copper),var(--prospera-v26-copper-2));
}
html body .footer-v26-nav-list,
html body .footer-v26-contact-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
html body .footer-v26-nav-list a,
html body .footer-v26-nav-list button,
html body .footer-v26-bottom-links a,
html body .footer-v26-bottom-links button{
  appearance:none;
  border:0;
  background:transparent;
  font:inherit;
  color:var(--prospera-v26-soft);
  text-decoration:none;
  cursor:pointer;
}
html body .footer-v26-nav-list a,
html body .footer-v26-nav-list button{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 12px;
  border-radius:14px;
  font-size:.96rem;
  font-weight:760;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
html body .footer-v26-nav-list a:hover,
html body .footer-v26-nav-list button:hover,
html body .footer-v26-nav-list button[aria-expanded="true"]{
  color:#fff;
  background:rgba(255,255,255,.075);
  transform:translateX(3px);
}
html body .footer-v26-services-trigger i{
  width:26px;
  height:26px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  color:var(--prospera-v26-copper);
  background:rgba(255,255,255,.075);
  transition:transform .2s ease;
}
html body .footer-v26-services-trigger[aria-expanded="true"] i{
  transform:rotate(90deg);
}
html body .footer-v26-contact-list{
  gap:15px;
}
html body .footer-v26-contact-list li{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:12px;
  color:var(--prospera-v26-soft);
  line-height:1.55;
}
html body .footer-v26-contact-list i,
html body .footer-v26-eyebrow i{
  color:var(--prospera-v26-copper);
  margin-top:3px;
}
html body .footer-v26-contact-list a{
  color:var(--prospera-v26-soft);
  text-decoration:none;
  transition:color .2s ease;
}
html body .footer-v26-contact-list a:hover{color:#fff;}
html body .footer-v26-contact-list span{color:var(--prospera-v26-muted);}
html body .footer-v26-hours{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--prospera-v26-line);
  display:grid;
  gap:10px;
}
html body .footer-v26-hours p{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin:0;
  color:var(--prospera-v26-soft);
  font-size:.94rem;
}
html body .footer-v26-hours strong{color:#fff; font-weight:850; text-align:right;}
html body .footer-v26-cta{
  padding:24px;
  border-radius:var(--prospera-v26-radius);
  border:1px solid var(--prospera-v26-line-strong);
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 20px 60px rgba(0,0,0,.18);
}
html body .footer-v26-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:14px;
  color:var(--prospera-v26-copper);
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
html body .footer-v26-cta h2{
  margin-bottom:0;
  letter-spacing:-.025em;
  text-transform:none;
  font-size:clamp(1.32rem,1.1vw + 1rem,2rem);
  line-height:1.12;
}
html body .footer-v26-estimate{
  margin-top:22px;
  min-height:52px;
  width:100%;
}
html body .footer-v26-bottom{
  margin-top:clamp(34px,4vw,64px);
  padding-top:24px;
  border-top:1px solid var(--prospera-v26-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
html body .footer-v26-bottom p{
  margin:0;
  color:rgba(255,255,255,.48);
  font-size:.9rem;
}
html body .footer-v26-bottom-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:14px;
}
html body .footer-v26-bottom-links a,
html body .footer-v26-bottom-links button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:rgba(255,255,255,.58);
  font-size:.9rem;
  font-weight:750;
  transition:color .2s ease, transform .2s ease;
}
html body .footer-v26-bottom-links a:hover,
html body .footer-v26-bottom-links button:hover{
  color:#fff;
  transform:translateY(-1px);
}

/* Services modal — minimal premium directory. */
html body .prospera-services-modal{
  position:fixed !important;
  inset:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:999999 !important;
}
html body .prospera-services-modal.is-open{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
html body .prospera-services-modal-backdrop{
  position:absolute !important;
  inset:0 !important;
  background:rgba(2,23,30,.76) !important;
  backdrop-filter:blur(18px) saturate(1.2);
}
html body .prospera-services-modal-dialog{
  position:relative !important;
  width:min(1180px, calc(100vw - 36px)) !important;
  max-height:min(88dvh, 860px) !important;
  overflow:hidden !important;
  border-radius:34px !important;
  border:1px solid rgba(255,255,255,.16) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(239,143,90,.16), transparent 30%),
    linear-gradient(145deg,rgba(12,55,68,.98),rgba(5,36,46,.985)) !important;
  box-shadow:var(--prospera-v26-shadow), inset 0 1px 0 rgba(255,255,255,.12) !important;
  transform:translateY(12px) scale(.985);
  transition:transform .24s ease;
}
html body .prospera-services-modal.is-open .prospera-services-modal-dialog{
  transform:translateY(0) scale(1);
}
html body .prospera-services-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:clamp(24px,3vw,38px) clamp(22px,3vw,40px) !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}
html body .prospera-services-modal-head span{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--prospera-v26-copper) !important;
  font-size:.76rem !important;
  font-weight:950 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
}
html body .prospera-services-modal-head h2{
  margin:.44rem 0 .55rem !important;
  color:#fff !important;
  font-size:clamp(1.75rem,2.2vw + 1rem,3.2rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.055em !important;
}
html body .prospera-services-modal-head p{
  margin:0 !important;
  max-width:720px;
  color:rgba(255,255,255,.66) !important;
  line-height:1.65 !important;
  font-size:clamp(.98rem,.5vw + .85rem,1.12rem) !important;
}
html body .prospera-services-modal-close{
  flex:0 0 auto;
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease;
}
html body .prospera-services-modal-close:hover{transform:rotate(90deg); background:rgba(239,143,90,.18) !important;}
html body .prospera-services-modal-body{
  display:grid !important;
  grid-template-columns:minmax(230px,320px) minmax(0,1fr) !important;
  gap:0 !important;
  max-height:calc(min(88dvh, 860px) - 210px) !important;
  min-height:0 !important;
}
html body .prospera-services-modal-tabs{
  display:grid !important;
  align-content:start;
  gap:10px !important;
  padding:clamp(18px,2vw,26px) !important;
  overflow:auto !important;
  border-right:1px solid rgba(255,255,255,.10) !important;
  overscroll-behavior:contain;
}
html body .prospera-services-modal-category{
  width:100% !important;
  min-height:70px;
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) !important;
  gap:13px !important;
  align-items:center !important;
  padding:12px !important;
  border:1px solid rgba(255,255,255,.11) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.052) !important;
  color:#fff !important;
  text-align:left !important;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
html body .prospera-services-modal-category:hover,
html body .prospera-services-modal-category:focus-visible,
html body .prospera-services-modal-category.is-active{
  outline:none !important;
  border-color:rgba(239,143,90,.46) !important;
  background:linear-gradient(135deg,rgba(239,143,90,.18),rgba(255,255,255,.065)) !important;
  transform:translateX(2px);
}
html body .prospera-services-modal-category-icon{
  width:46px !important;
  height:46px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:16px !important;
  color:var(--prospera-v26-copper) !important;
  background:rgba(239,143,90,.12) !important;
  border:1px solid rgba(239,143,90,.26) !important;
}
html body .prospera-services-modal-category strong{
  display:block;
  color:#fff;
  font-size:.84rem !important;
  font-weight:950 !important;
  letter-spacing:.025em;
  text-transform:uppercase;
}
html body .prospera-services-modal-category small{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.54);
  font-size:.78rem;
}
html body .prospera-services-modal-content{
  min-width:0;
  overflow:auto !important;
  padding:clamp(20px,2.2vw,32px) !important;
  overscroll-behavior:contain;
}
html body .prospera-services-modal-panel{display:none !important;}
html body .prospera-services-modal-panel.is-active{display:block !important;}
html body .prospera-services-modal-panel-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:20px !important;
  padding:0 0 22px !important;
  margin-bottom:22px !important;
  border-bottom:1px solid rgba(255,255,255,.11) !important;
}
html body .prospera-services-modal-panel-head span{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--prospera-v26-copper);
  font-size:.75rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.14em;
}
html body .prospera-services-modal-panel-head h3{
  margin:.55rem 0 .35rem !important;
  color:#fff !important;
  font-size:clamp(1.45rem,1.3vw + 1rem,2.35rem) !important;
  letter-spacing:-.04em;
}
html body .prospera-services-modal-panel-head p{
  margin:0 !important;
  color:rgba(255,255,255,.63) !important;
  line-height:1.55 !important;
}
html body .prospera-services-modal-view{
  flex:0 0 auto;
  display:inline-flex !important;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff !important;
  text-decoration:none !important;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.07);
  transition:transform .2s ease, background .2s ease;
}
html body .prospera-services-modal-view:hover{transform:translateY(-2px); background:rgba(239,143,90,.17);}
html body .prospera-services-modal-services{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}
html body .prospera-services-modal-service{
  min-width:0;
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) 20px !important;
  gap:14px;
  align-items:center;
  min-height:82px;
  padding:14px !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.105) !important;
  background:rgba(255,255,255,.055) !important;
  color:#fff !important;
  text-decoration:none !important;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}
html body .prospera-services-modal-service:hover,
html body .prospera-services-modal-service:focus-visible{
  outline:none;
  transform:translateY(-3px);
  border-color:rgba(239,143,90,.34) !important;
  background:rgba(255,255,255,.085) !important;
}
html body .prospera-services-modal-service-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:rgba(239,143,90,.12);
  border:1px solid rgba(239,143,90,.24);
  color:var(--prospera-v26-copper);
}
html body .prospera-services-modal-service strong{
  display:block;
  color:#fff;
  font-size:.95rem;
  font-weight:900;
}
html body .prospera-services-modal-service small{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.56);
  line-height:1.42;
}
html body .prospera-services-modal-service > i{color:rgba(255,255,255,.46);}
html body .prospera-services-modal-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px clamp(22px,3vw,40px) !important;
  border-top:1px solid rgba(255,255,255,.11) !important;
  background:rgba(0,0,0,.12) !important;
}
html body .prospera-services-modal-foot p{
  margin:0;
  color:rgba(255,255,255,.62);
  line-height:1.5;
}
html body .prospera-services-modal-cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  color:#fff !important;
  background:linear-gradient(135deg,var(--prospera-v26-copper),var(--prospera-v26-copper-2));
  text-decoration:none !important;
  font-weight:950;
}

@media (max-width:1180px){
  html body .footer-v26-main{grid-template-columns:1.1fr .8fr 1fr;}
  html body .footer-v26-cta{grid-column:1 / -1;}
}
@media (max-width:860px){
  html body .prospera-footer-v26{padding-top:54px !important;}
  html body .footer-v26-main{grid-template-columns:1fr; gap:30px;}
  html body .footer-v26-bottom{align-items:flex-start; flex-direction:column;}
  html body .footer-v26-bottom-links{justify-content:flex-start;}
  html body .prospera-services-modal{padding:0 !important; align-items:stretch !important;}
  html body .prospera-services-modal-dialog{width:100% !important; height:100dvh !important; max-height:100dvh !important; border-radius:0 !important;}
  html body .prospera-services-modal-head{padding:22px 18px !important;}
  html body .prospera-services-modal-body{grid-template-columns:1fr !important; max-height:calc(100dvh - 218px) !important;}
  html body .prospera-services-modal-tabs{grid-auto-flow:column !important; grid-auto-columns:minmax(210px,72vw) !important; overflow-x:auto !important; overflow-y:hidden !important; border-right:0 !important; border-bottom:1px solid rgba(255,255,255,.10) !important; padding:14px 16px !important;}
  html body .prospera-services-modal-category{min-height:66px;}
  html body .prospera-services-modal-content{padding:18px !important;}
  html body .prospera-services-modal-panel-head{display:grid !important;}
  html body .prospera-services-modal-view{justify-self:start;}
  html body .prospera-services-modal-services{grid-template-columns:1fr !important;}
  html body .prospera-services-modal-foot{display:grid; padding:16px 18px !important;}
  html body .prospera-services-modal-cta{width:100%;}
}
@media (max-width:520px){
  html body .footer-v26-contact-actions{display:grid;}
  html body .footer-v26-contact-actions a{width:100%;}
  html body .footer-v26-hours p{display:grid; gap:2px;}
  html body .footer-v26-hours strong{text-align:left;}
  html body .prospera-services-modal-head h2{font-size:2rem !important;}
}
@media (prefers-reduced-motion:reduce){
  html body .prospera-services-modal-dialog,
  html body .prospera-services-modal-category,
  html body .prospera-services-modal-service,
  html body .footer-v26-nav-list a,
  html body .footer-v26-nav-list button,
  html body .footer-v26-contact-actions a,
  html body .footer-v26-estimate{transition:none !important;}
}
