/* =========================
   TOP ANNOUNCEMENT BAR
   ========================= */
.topBar{
  position: relative;
  top: 0;
  z-index: 60;
  background: white;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,15,15,.10);
}

.topBarInner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 0;
}

.topBarLink{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 14px;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(15,15,15,.88);
  text-decoration: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .topBarLink:hover{
    transform: translateY(-1px);
    background: rgba(var(--brand-rgb), .30);
    box-shadow: 0 14px 28px rgba(15,15,15,.12);
  }
}

.topBarLink:active{
  transform: translateY(0);
  background: rgba(var(--brand-rgb), .18);
  box-shadow: none;
}

@media (max-width: 720px){
  .topBarInner{ padding: 9px 0; }

  .topBarLink{
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* =========================
   HEADER / NAV
   ========================= */
.siteHeader{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: #3D5A78;
  border-bottom: 1px solid #FAD4E4;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 6px 0;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-title{
  height: 90px;
  width: auto;
  display: block;
}

.navlinks{
  display:flex;
  align-items:center;
  gap: 18px;
  color: #FAD4E4;
  font-weight: 700;
  font-size: 15px;
}

.navlinks a{
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: color .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .navlinks a:hover{
    color: var(--brand);
  }
}

/* =========================
   DESKTOP DROPDOWN
   ========================= */
.navDropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.navDropdownToggle{
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #FAD4E4;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .12s ease;
}

/* Hover, JS-open, and focus-within all turn the toggle pink */
@media (hover: hover) and (pointer: fine){
  .navDropdown:hover .navDropdownToggle{
    color: var(--brand);
  }
}

.navDropdown.isOpen .navDropdownToggle,
.navDropdown:focus-within .navDropdownToggle{
  color: var(--brand);
}

.navCaret{
  font-size: 22px;
  line-height: 1;
  transition: transform .16s ease;
}

/* Rotate caret on hover, JS-open, or focus-within */
@media (hover: hover) and (pointer: fine){
  .navDropdown:hover .navCaret{
    transform: rotate(180deg);
  }
}

.navDropdown.isOpen .navCaret,
.navDropdown:focus-within .navCaret{
  transform: rotate(180deg);
}

.navDropdownMenu{
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(15,15,15,.10);
  box-shadow: 0 18px 42px rgba(15,15,15,.14);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 120;
}

.navDropdownMenu::before{
  content:"";
  position:absolute;
  top:-8px;
  left: 22px;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.98);
  border-top: 1px solid rgba(15,15,15,.10);
  border-left: 1px solid rgba(15,15,15,.10);
  transform: rotate(45deg);
}

/* CSS :hover opens the menu — works in Chrome AND Safari */
@media (hover: hover) and (pointer: fine){
  .navDropdown:hover .navDropdownMenu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* JS .isOpen and :focus-within also open it (touch/keyboard fallback) */
.navDropdown.isOpen .navDropdownMenu,
.navDropdown:focus-within .navDropdownMenu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.navDropdownMenu a{
  display:flex;
  align-items:center;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(15,15,15,.82);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s ease, transform .12s ease, color .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .navDropdownMenu a:hover{
    background: rgba(var(--brand-rgb), .18);
    color: var(--ink);
    transform: translateX(2px);
  }
}

.navDropdownMenu a:active{
  background: rgba(var(--brand-rgb), .14);
  transform: translateX(0);
}

/* =========================
   NAV CTA
   ========================= */
.navcta{
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.navcta .btnPhone{
  position: relative;
  z-index: 1;
  margin-right: 0;
  padding-right: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border-color: rgba(15,15,15,.10);
  box-shadow: 0 10px 22px rgba(15,15,15,.06);
  transform: none;
  -webkit-tap-highlight-color: transparent;
}

.btnPhone{
  font-weight: 900;
  letter-spacing: -.01em;
}

.btnPhone .phoneIcon{
  color: #3D5A78;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) and (pointer: fine){
  .navcta .btnPhone:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15,15,15,.07);
  }
}

.navcta .btnPhone:active{
  transform: translateY(0px);
}

@media (max-width: 920px){
  .navcta{ gap: 10px; }
}

/* =========================
   MOBILE DRAWER
   ========================= */
.navToggle{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.navBurger{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15,15,15,.14);
  background: rgba(255,255,255,.66);
  box-shadow: 0 10px 22px rgba(15,15,15,.10);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .navBurger:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 26px rgba(15,15,15,.12);
  }
}

.navBurger:active{
  transform: translateY(0);
}

.burgerLines{
  width: 22px;
  height: 14px;
  display: block;
  border-radius: 99px;
  background: linear-gradient(
    to bottom,
    rgba(15,15,15,.72) 0 2px,
    transparent 2px 6px,
    rgba(15,15,15,.72) 6px 8px,
    transparent 8px 12px,
    rgba(15,15,15,.72) 12px 14px
  );
}

.mobileNavWrap{
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.mobileNavOverlay{
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,.40);
}

.mobileNavPanel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 360px);
  background: #fff;
  border-left: 1px solid rgba(15,15,15,.10);
  box-shadow: -20px 0 50px rgba(15,15,15,.22);
  transform: translateX(100%);
  transition: transform .22s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 16px;
}

.mobileNavTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 6px 4px 10px;
}

.mobileNavTitle{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(15,15,15,.86);
}

.mobileNavClose{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(15,15,15,.12);
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 22px rgba(15,15,15,.08);
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .mobileNavClose:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15,15,15,.10);
    background: rgba(255,255,255,.95);
  }
}

.mobileNavClose:active{
  transform: translateY(0);
}

.mobileNavClose span{
  font-size: 28px;
  line-height: 1;
  margin-top: -2px;
  color: rgba(15,15,15,.70);
}

.mobileNavLinks{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 10px 4px 6px;
}

.mnavLink{
  font-weight: 950;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(15,15,15,.86);
  padding: 12px 12px;
  border-radius: 16px;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s ease, transform .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .mnavLink:hover{
    background: rgba(var(--brand-rgb), .18);
    transform: translateX(2px);
  }
}

.mnavLink:active{
  background: rgba(var(--brand-rgb), .14);
  transform: translateX(0);
}

.mobileNavDivider{
  height: 1px;
  background: rgba(15,15,15,.10);
  margin: 10px 6px 14px;
}

.mobileNavCtas{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 0 4px 10px;
}

.mobileQuoteBtn{
  width: 100%;
  justify-content:center;
  padding: 16px 16px;
  font-size: 16px;
  border-radius: 18px;
}

.mobilePhoneBtn{
  width: 100%;
  justify-content:center;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,15,15,.12);
  box-shadow: 0 10px 22px rgba(15,15,15,.08);
  font-weight: 900;
}

.mobileNavSocial{
  margin-top: auto;
  padding: 10px 4px 0;
  display:flex;
  gap: 10px;
}

.mobileSocialIcon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(var(--brand-rgb), .16);
  border: 1px solid rgba(var(--brand-rgb), .30);
  box-shadow: 0 10px 22px rgba(15,15,15,.08);
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .mobileSocialIcon:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15,15,15,.12);
    background: rgba(var(--brand-rgb), .22);
  }
}

.mobileSocialIcon:active{
  transform: translateY(0);
}

.mobileSocialIcon svg{
  width: 20px;
  height: 20px;
  fill: rgba(15,15,15,.80);
  opacity: .95;
}

.mobileNavFoot{
  padding: 12px 4px 0;
  color: rgba(15,15,15,.50);
  font-weight: 700;
  font-size: 12px;
}

.navToggle:checked ~ .mobileNavWrap{
  opacity: 1;
  pointer-events: auto;
}

.navToggle:checked ~ .mobileNavWrap .mobileNavPanel{
  transform: translateX(0);
}

/* =========================
   MOBILE SERVICES DROPDOWN
   ========================= */
.mobileNavDropdown{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobileNavDropdownToggle{
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 12px;
  border-radius: 16px;
  font: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(15,15,15,.86);
  -webkit-tap-highlight-color: transparent;
  transition: background .12s ease, transform .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .mobileNavDropdownToggle:hover{
    background: rgba(var(--brand-rgb), .18);
    transform: translateX(2px);
  }
}

.mobileNavDropdownToggle:active{
  background: rgba(var(--brand-rgb), .14);
  transform: translateX(0);
}

.mobileNavCaret{
  font-size: 26px;
  line-height: 1;
  transition: transform .18s ease;
}

.mobileNavDropdown.isOpen .mobileNavCaret{
  transform: rotate(180deg);
}

.mobileNavDropdownMenu{
  display: grid;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .22s ease, opacity .18s ease, transform .22s ease;
  padding: 0 0 0 10px;
}

.mobileNavDropdown.isOpen .mobileNavDropdownMenu{
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.mnavSubLink{
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(var(--brand-rgb), .10);
  border: 1px solid rgba(var(--brand-rgb), .18);
  color: rgba(15,15,15,.82);
  font-weight: 850;
  font-size: 15px;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s ease, transform .12s ease;
}

@media (hover: hover) and (pointer: fine){
  .mnavSubLink:hover{
    background: rgba(var(--brand-rgb), .18);
    transform: translateX(2px);
  }
}

.mnavSubLink:active{
  background: rgba(var(--brand-rgb), .14);
  transform: translateX(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 920px){
  .navlinks{ display:none; }
  .navcta{ display:none; }
  .navBurger{ display:flex; }
}