:root{
  --dark-blue:#0A1F44;
  --baby-blue:#89CFF0;
  --black:#000;
  --white:#fff;
  --max-width:1200px;
  --radius:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:Inter,"Segoe UI",Roboto,system-ui,Arial,sans-serif;
  color:var(--dark-blue);
  background:#f8fbff;
  line-height:1.45;
  padding-top:0;
}
body.has-fixed-header-offset{padding-top:88px}
a{color:inherit}
.navbar{
  display:none;
}
.site-header{
  display:none;
}

/* —— Desktop header (injected by common.js). Single light bar on all pages for consistency. —— */
.modern-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:5000;
  pointer-events:none;
  background:rgba(253,254,255,.98);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid rgba(15,47,102,.1);
  box-shadow:0 1px 0 rgba(255,255,255,.95) inset;
  transition:box-shadow .25s ease;
}

.modern-header.is-scrolled{
  box-shadow:0 4px 20px rgba(6,23,50,.1);
}

.modern-header__inner{
  pointer-events:auto;
  max-width:var(--max-width);
  margin:0 auto;
  padding:10px 20px;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.modern-brand{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
  text-decoration:none;
  border-radius:12px;
  padding:4px 8px 4px 4px;
  margin:-4px;
  transition:background .2s ease, box-shadow .2s ease;
}

.modern-brand:hover,
.modern-brand:focus-visible{
  background:rgba(10,31,68,.05);
  box-shadow:0 0 0 1px rgba(15,47,102,.1);
}

.modern-brand:focus-visible{
  outline:2px solid var(--baby-blue);
  outline-offset:2px;
}

.modern-brand__logo{
  display:block;
  height:44px;
  width:auto;
  max-width:min(200px,38vw);
  object-fit:contain;
}

.modern-header__cluster{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:16px 28px;
  flex:1;
  min-width:0;
}

/* Typographic contact row — not button/chips */
.modern-contact-line{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:flex-end;
  gap:6px 10px;
  font-size:.8125rem;
  letter-spacing:.01em;
  color:#5a6b82;
  line-height:1.35;
}

.modern-contact-line__phones{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:4px 6px;
}

.modern-contact-line a{
  color:#1e3d66;
  text-decoration:none;
  font-weight:600;
  border-bottom:1px solid transparent;
  transition:color .18s ease, border-color .18s ease;
}

.modern-contact-line a:hover,
.modern-contact-line a:focus-visible{
  color:#0a1f44;
  border-bottom-color:rgba(10,31,68,.35);
}

.modern-contact-line__email{
  font-weight:500 !important;
}

.modern-contact-line__sep{
  color:#9aa8bc;
  font-weight:700;
  user-select:none;
}

.modern-contact-line__divider{
  color:#c5d0e0;
  font-weight:300;
  padding:0 2px;
  user-select:none;
}

.modern-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:2px;
}

.modern-nav__link{
  color:#0f2748;
  text-decoration:none;
  font-weight:600;
  font-size:.9rem;
  padding:8px 12px;
  border-radius:10px;
  transition:background .2s ease, color .2s ease;
}

.modern-nav__link:hover,
.modern-nav__link:focus-visible{
  background:rgba(10,31,68,.07);
  color:#061428;
}

.modern-nav__link[aria-current="page"]{
  font-weight:800;
  background:rgba(10,31,68,.1);
}

.modern-nav__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:4px;
  padding:9px 18px;
  border-radius:999px;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.02em;
  text-decoration:none;
  color:var(--dark-blue) !important;
  background:linear-gradient(145deg,var(--baby-blue) 0%,#6bb8e8 100%);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 6px 18px rgba(12,74,120,.28);
  transition:transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.modern-nav__cta:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(12,74,120,.35);
  filter:brightness(1.03);
}

.modern-nav__cta[aria-current="page"]{
  box-shadow:0 0 0 2px rgba(15,61,124,.25),0 8px 22px rgba(12,74,120,.4);
}

.modern-nav__link:focus-visible,
.modern-nav__cta:focus-visible{
  outline:2px solid var(--baby-blue);
  outline-offset:2px;
}

@media (max-width:1100px){
  .modern-header__inner{
    padding:10px 14px;
    gap:12px;
  }
}

@media (max-width:900px){
  .modern-header__cluster{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }
  .modern-contact-line{
    justify-content:flex-start;
  }
  .modern-nav{
    justify-content:flex-start;
    padding-top:8px;
    border-top:1px solid rgba(15,47,102,.1);
  }
}

.mobile-bottom-nav{
  display:none;
}

.mobile-more-panel{
  display:none;
}

.mobile-more-backdrop{
  display:none;
}
.site-header--home{border-bottom:1px solid #e5eef8}
.site-header--sub{background:#fdfefe;border-bottom:1px solid #e5eef8}

.hero{
  position:relative;
  min-height:66vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2.5rem 1rem;
  overflow:hidden;
}
.hero img.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,18,38,.55),rgba(6,18,38,.55));
  z-index:1;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:var(--max-width);
  width:100%;
  display:flex;
  align-items:center;
  gap:2rem;
  padding:1.5rem;
}
.hero-left{flex:1;color:#fff}
.hero-left h1{font-size:clamp(1.6rem,4.6vw,3.2rem);line-height:1.05;margin-bottom:.6rem}
.hero-left p{font-size:1.05rem;opacity:.95;margin-bottom:1rem}
.hero-ctas{display:flex;gap:.75rem;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:.7rem 1.1rem;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(10,31,68,.18);
  transition:transform .12s ease,opacity .12s ease;
}
.btn:hover{transform:translateY(-3px)}
.btn-cta{background:var(--baby-blue);color:var(--dark-blue)}
.btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.18)}
.hero-right{width:360px;max-width:42%;min-width:260px}
.card{
  background:rgba(255,255,255,.95);
  border-radius:var(--radius);
  padding:1rem 1.1rem;
  box-shadow:0 10px 30px rgba(8,21,48,.15);
  color:var(--dark-blue);
}
.card h4{margin-bottom:.5rem}
.field{display:flex;gap:.5rem;align-items:center;margin:.5rem 0}
.field input[type=number]{
  flex:1;
  padding:.6rem .75rem;
  border-radius:8px;
  border:1px solid #d6e6f4;
  font-size:1rem;
}
.calc-result{margin-top:.6rem;font-weight:700}

.site-footer{
  background:#f5f7fa;
  border-top:1px solid #e3e8ef;
  margin-top:3rem;
}
.site-footer__inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:2rem 1rem;
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:space-between;
  align-items:flex-start;
}
.site-footer__col{flex:1 1 200px;min-width:175px}
.site-footer__title{font-size:1rem;font-weight:600;color:#002147;margin-bottom:.6rem}
.site-footer__small{font-size:.95rem;color:#314162}
.site-footer__links,.site-footer__services{list-style:none;margin:0;padding:0}
.site-footer__links li,.site-footer__services li{margin-bottom:.32rem}
.site-footer__links a{text-decoration:none;color:#314162}
.site-footer__bottom{
  text-align:center;
  font-size:.92rem;
  color:#8196b4;
  padding:0 1rem .6rem;
  opacity:.94;
}
.site-footer__credit{
  text-align:center;
  font-size:.82rem;
  color:#8a9ab8;
  padding:.65rem 1rem 1.25rem;
  border-top:1px solid #e3e8ef;
}
.site-footer__credit:first-child:last-child{
  padding-top:1.15rem;
}
.site-footer__credit a{
  color:#314162;
  text-decoration:none;
  font-weight:600;
}
.site-footer__credit a:hover{
  text-decoration:underline;
  color:#002147;
}

@media (max-width:900px){
  .hero-content{flex-direction:column;align-items:stretch}
  .hero-right{max-width:100%}
}
@media (max-width:767px){
  body{
    padding-top:0;
    padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px));
  }
  body.has-fixed-header-offset{
    /* Keep content from sitting under the fixed mobile logo header */
    padding-top:calc(64px + env(safe-area-inset-top, 0px));
  }
  body.mobile-more-open{
    overflow:hidden;
    touch-action:none;
  }

  .modern-header{
    display:block !important;
    /* Mobile: focus on logo-only bar; nav/contact are hidden */
    pointer-events:none;
  }

  .modern-header__inner{
    min-height:64px;
    padding:8px 14px;
    justify-content:flex-start;
    gap:0;
  }

  .modern-header__cluster{
    display:none;
  }

  .modern-brand__logo{
    height:38px;
    max-width:min(180px,70vw);
  }

  /* Slim iOS-style tab bar: icons + labels, no pill buttons */
  .mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1250;
    display:flex;
    align-items:stretch;
    justify-content:space-around;
    gap:0;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    margin:0;
    border-radius:0;
    background:rgba(252,253,255,.82);
    backdrop-filter:saturate(180%) blur(18px);
    -webkit-backdrop-filter:saturate(180%) blur(18px);
    border-top:1px solid rgba(15,47,102,.09);
    box-shadow:0 -6px 28px rgba(6,23,50,.07);
  }

  .mobile-tab{
    position:relative;
    flex:1;
    max-width:96px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:3px;
    padding:4px 2px 2px;
    margin:0;
    min-height:0;
    border:none;
    background:transparent;
    color:#6b7c9a;
    font-family:inherit;
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
    cursor:pointer;
    transition:color .18s ease;
  }

  .mobile-tab__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    color:inherit;
  }

  .mobile-tab__svg{
    width:22px;
    height:22px;
    display:block;
  }

  .mobile-tab__label{
    font-size:.62rem;
    font-weight:600;
    letter-spacing:.04em;
    text-transform:uppercase;
    line-height:1.15;
    text-align:center;
  }

  .mobile-tab:active{
    color:#0a1f44;
    opacity:.92;
  }

  .mobile-tab--active{
    color:#0a1f44;
  }

  .mobile-tab--active .mobile-tab__icon{
    color:#0c4a8c;
  }

  .mobile-tab--active::after{
    content:"";
    position:absolute;
    top:2px;
    left:50%;
    transform:translateX(-50%);
    width:18px;
    height:3px;
    border-radius:999px;
    background:linear-gradient(90deg,rgba(12,74,140,0),rgba(12,74,140,.85),rgba(12,74,140,0));
    opacity:.9;
  }

  .mobile-more-backdrop{
    display:block !important;
    position:fixed;
    inset:0;
    background:rgba(8,22,48,.38);
    z-index:1248;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease,visibility .22s ease;
  }

  .mobile-more-backdrop.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .mobile-more-panel{
    display:flex !important;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1249;
    max-height:min(58vh,520px);
    flex-direction:column;
    padding:0 0 calc(12px + env(safe-area-inset-bottom, 0px));
    background:#f9fbfe;
    border-radius:20px 20px 0 0;
    border:1px solid rgba(15,47,102,.1);
    border-bottom:none;
    box-shadow:0 -12px 48px rgba(3,26,60,.18);
    transform:translateY(104%);
    transition:transform .28s cubic-bezier(.32,.72,0,1);
    overflow:hidden;
  }

  .mobile-more-panel.is-open{
    display:flex;
    transform:translateY(0);
  }

  .mobile-more-panel__handle{
    width:36px;
    height:4px;
    border-radius:999px;
    background:rgba(15,47,102,.16);
    margin:10px auto 6px;
    flex-shrink:0;
  }

  .mobile-more-panel__title{
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#7a8aa8;
    text-align:center;
    padding:4px 16px 10px;
    border-bottom:1px solid rgba(15,47,102,.07);
  }

  .mobile-more-panel__list{
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:4px 0 8px;
  }

  .mobile-more-panel__link{
    display:block;
    padding:14px 22px;
    text-decoration:none;
    color:#0f2748;
    font-size:.95rem;
    font-weight:600;
    letter-spacing:.01em;
    border-bottom:1px solid rgba(15,47,102,.06);
    background:transparent;
    transition:background .15s ease;
  }

  .mobile-more-panel__link:last-child{
    border-bottom:none;
  }

  .mobile-more-panel__link:active{
    background:rgba(12,74,140,.06);
  }
}

/* Floating contact FAB */
.contact-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1200;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.contact-fab__menu{
  display:none;
  width:min(88vw, 280px);
  border:1px solid #d7e4f5;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 40px rgba(6,26,59,.2);
  padding:10px;
}

.contact-fab--open .contact-fab__menu{
  display:block;
}

.contact-fab__title{
  font-size:.8rem;
  font-weight:700;
  color:#2b4870;
  margin:2px 4px 8px;
}

.contact-fab__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  border:1px solid #e5edf8;
  border-radius:10px;
  padding:8px 9px;
  text-decoration:none;
  color:#1d3557;
  transition:all .15s ease;
  background:#fff;
}

.contact-fab__item + .contact-fab__item{
  margin-top:7px;
}

.contact-fab__item:hover{
  border-color:#a8c7ea;
  background:#f5faff;
  transform:translateY(-1px);
}

.contact-fab__item-icon{
  width:28px;
  height:28px;
  border-radius:999px;
  background:#eaf4ff;
  color:#0f62b8;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
}

.contact-fab__item-text{
  display:flex;
  flex-direction:column;
  gap:1px;
}

.contact-fab__item-label{
  font-size:.86rem;
  font-weight:700;
  line-height:1.2;
}

.contact-fab__item-sub{
  font-size:.76rem;
  color:#506887;
  line-height:1.2;
}

.contact-fab__button{
  width:58px;
  height:58px;
  border-radius:999px;
  border:none;
  background:linear-gradient(135deg,#0f62b8 0%,#1fa855 100%);
  color:#fff;
  box-shadow:0 14px 30px rgba(12,66,123,.36);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.contact-fab__button:hover{
  transform:translateY(-2px);
}

.contact-fab__button svg{
  width:26px;
  height:26px;
  fill:currentColor;
}

/* Must follow base .contact-fab so these win on small screens (otherwise bottom/z-index reset hides FAB under tab bar) */
@media (max-width:767px){
  .contact-fab{
    right:max(14px, env(safe-area-inset-right, 0px));
    /* Body reserves 64px + safe-area for tab bar; keep FAB fully above it + gap */
    bottom:calc(64px + env(safe-area-inset-bottom, 0px) + 16px);
    z-index:1300;
  }
}
