/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* ==========================================================================
   PA Group — Global Styles
   ========================================================================== */

html {
  font-size: 100%;
}
html, body { 
  margin: 0; 
  padding: 0; 
  background: #FFFFFF; 
  font-family: 'Mulish', system-ui, sans-serif; 
  color: #223763; 
  line-height: 1.65; 
  overflow-x: hidden; 
}
* { 
  box-sizing: border-box; 
}
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Work Sans', system-ui, sans-serif; 
  margin: 0; 
}
a { 
  color: inherit; 
  text-decoration: none; 
}
img { 
  max-width: 100%; 
  display: block; 
}
select, input, textarea, button { 
  font-family: inherit; 
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #3864C0; 
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Image mood — cohesive desaturated navy treatment */
.mood-img img {
  filter: saturate(0.6) brightness(1.02) contrast(1.02);
  transition: filter 0.4s ease, transform 0.5s ease;
}

/* === Skip to content === */
.skip-to-content {
  position: absolute; 
  left: -9999px; 
  top: auto;
  width: 1px; 
  height: 1px; 
  overflow: hidden;
}
.sr-only {
  position: absolute; 
  width: 1px; 
  height: 1px;
  padding: 0; 
  margin: -1px; 
  overflow: hidden;
  clip: rect(0,0,0,0); 
  white-space: nowrap; 
  border: 0;
}

/* === Header === */
.site-header {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 100;
  padding: 14px 80px;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #EDEEF1;
  box-shadow: 0 2px 12px rgba(34,55,99,0.06);
  backdrop-filter: blur(10px);
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.logo-link { 
  display: inline-flex; 
  align-items: center; 
}
.logo-img { 
  height: 38px;
  width: auto; 
  display: block; 
}
/* Logo swap: show primary by default, hide secondary */
.logo-img-secondary { 
  display: none; 
}
.nav-desktop { 
  display: flex; 
  gap: 44px; 
  align-items: center; 
}

/* ── Homepage transparent header ── */
.home .site-header {
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* Homepage scrolled state */
.home .site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: #EDEEF1;
  box-shadow: 0 2px 12px rgba(34,55,99,0.06);
  backdrop-filter: blur(10px);
  padding-top: 12px; 
  padding-bottom: 12px;
}

/* === Footer === */
.site-footer { 
  background: #2A4681; 
  color: #fff; 
  padding: 64px 80px 28px; 
}
.footer-grid {
  display: grid; 
  grid-template-columns: 1.5fr 1fr 1.2fr; 
  gap: 48px;
  max-width: 1280px; 
  margin: 0 auto;
}
.footer-section-title {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 13px; 
  font-weight: 700; 
  color: #fff;
  margin-bottom: 18px; 
  letter-spacing: 0.12em; 
  text-transform: uppercase;
}
.footer-description {
  font-size: 14px; 
  line-height: 1.7; 
  margin-top: 20px;
  color: rgba(255,255,255,0.75); 
  max-width: 360px;
}
.footer-contact-item {
  display: block; 
  font-size: 14px;
  color: rgba(255,255,255,0.75); 
  margin-bottom: 10px;
}
.footer-address {
  font-size: 14px; 
  color: rgba(255,255,255,0.75);
  line-height: 1.6; 
  font-style: normal;
}
.footer-copyright {
  padding-top: 20px; 
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 12px; 
  color: rgba(255,255,255,0.65);
  max-width: 1280px; 
  margin: 40px auto 0; 
  text-align: right;
}

/* === Layout containers === */
.container-md { 
  max-width: 980px; 
  margin: 0 auto; 
}
.container-lg { 
  max-width: 1280px; 
  margin: 0 auto; 
}

/* === Buttons === */
.btn-primary {
  display: inline-flex; 
  align-items: center; 
  gap: 12px;
  padding: 16px 28px; 
  background: #3864C0; 
  color: #fff;
  font-size: 15px; 
  font-weight: 600; 
  border-radius: 10px;
  cursor: pointer; 
  letter-spacing: 0.02em; 
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 22px rgba(56,100,192,0.28); 
  color: #fff;
}

.btn-arrow-icon {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  width: 24px; 
  height: 24px; 
  border-radius: 50%;
  background: rgba(255,255,255,0.18); 
  color: #fff; 
  font-size: 13px;
}

.btn-send {
  display: inline-block; 
  padding: 16px 30px; 
  background: #4F78CF; 
  color: #fff;
  font-size: 15px; 
  font-weight: 600; 
  border-radius: 10px; 
  cursor: pointer;
  border: none; 
  outline: none; 
  font-family: inherit; 
  line-height: 1.65;
  text-align: center; 
  text-decoration: none; 
  min-width: 168px;
  transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-send:hover { 
  transform: translateY(-2px); 
  background: #3864C0 !important; 
  box-shadow: 0 10px 22px rgba(56,100,192,0.28); 
}
.btn-send:disabled { 
  opacity: 0.6; 
  cursor: not-allowed; 
  transform: none !important; 
}

/* === Nav link underline effect === */
.nav-link {
  position: relative;
  font-size: 15px; 
  font-weight: 500; 
  color: #223763;
  padding-bottom: 6px; 
  border-bottom: 2px solid transparent;
}
.nav-dropdown-trigger.nav-link {
  border-bottom: none; 
  padding-bottom: 0;
}
/* Homepage: white nav links */
.home .site-header .nav-link { 
  color: #fff; 
}
.home .site-header.is-scrolled .nav-link { 
  color: #223763; 
}
/* Mobile toggle color */
.nav-mobile-toggle { 
  color: #223763; 
}
.home .site-header .nav-mobile-toggle { 
  color: #fff; 
}
.home .site-header.is-scrolled .nav-mobile-toggle { 
  color: #223763; 
}
.nav-link::after {
  content: ''; 
  position: absolute; 
  bottom: -2px; 
  left: 0; 
  right: 0;
  height: 2px; 
  background: currentColor;
  transform: scaleX(0); 
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-link:not(.active):hover::after { 
  transform: scaleX(1); 
  transform-origin: left; 
}

/* === Footer link === */
.footer-link {
  display: block; 
  font-size: 14px; 
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px; 
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.footer-link:hover { 
  color: #3864C0 !important; 
  padding-left: 4px; 
}

/* === Nav dropdown / submenu === */
.nav-dropdown {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -10px;
}
.nav-dropdown-trigger {
  display: inline-flex; 
  align-items: center; 
  gap: 7px;
  background: none; 
  border: none; 
  cursor: pointer;
  font-family: inherit;
  padding: 0 0 6px;
  position: relative;
}
.nav-dropdown-trigger::after {
  content: ''; 
  position: absolute; 
  bottom: -2px; 
  left: 0; 
  right: 0;
  height: 2px; 
  background: currentColor;
  transform: scaleX(0); 
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after,
.nav-dropdown.open .nav-dropdown-trigger::after {
  transform: scaleX(1); 
  transform-origin: left;
}
.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  transform-origin: center;
  color: currentColor;
  opacity: 0.65;
  flex-shrink: 0;
}
.nav-caret svg {
  width: 100%;
  height: 100%;
  display: block;
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.open .nav-caret { 
  opacity: 1; 
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 6px;
  min-width: 230px;
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(34, 55, 99, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 110;
  list-style: none;
}
/* invisible bridge to keep hover continuous */
.nav-submenu::after {
  content: '';
  position: absolute;
  top: -16px; 
  left: 0; 
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.nav-submenu-item,
.nav-submenu li a {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #223763 !important;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
  border-bottom: none !important;
  text-align: left;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.nav-submenu-item:hover,
.nav-submenu li a:hover {
  background: #F5F7FB;
  color: #3864C0 !important;
}
.nav-submenu li.current-menu-item a,
.nav-submenu-item.active {
  background: #F5F7FB !important;
  color: #3864C0 !important;
}
.nav-submenu li {
  list-style: none;
}
.nav-submenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* === Mobile nav drawer === */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: inherit;
}
.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}
.nav-mobile-drawer {
  position: fixed;
  top: 0; 
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #223763;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  padding: 24px 28px 40px;
}
.nav-mobile-drawer.is-open {
  transform: translateX(0);
}
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.nav-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}
.nav-mobile-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 32px;
}
.nav-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 8px;
}
.nav-mobile-close svg { 
  width: 24px; 
  height: 24px; 
  display: block; 
}
.nav-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-item {
  display: block;
  padding: 16px 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.nav-mobile-item-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-mobile-item-trigger svg {
  transition: transform 0.25s ease;
}
.nav-mobile-item-trigger.is-open svg {
  transform: rotate(180deg);
}
.nav-mobile-submenu {
  list-style: none;
  padding: 8px 0 8px 20px;
  margin: 0;
  display: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-mobile-submenu.is-open { 
  display: block; 
}
.nav-mobile-submenu a {
  display: block;
  padding: 12px 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  font-weight: 400;
}
.nav-mobile-submenu a:hover {
  color: #fff;
}

/* === Hero section === */
.pa-hero {
  position: relative;
  min-height: 460px;
  padding: 180px 80px 100px;
  overflow: hidden;
  background: #223763;
}
.pa-hero-bg {
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  object-position: center;
  filter: saturate(0.7) brightness(0.95);
  z-index: 0;
}
.pa-hero-overlay {
  position: absolute; 
  inset: 0; 
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(34, 55, 99, 0.92) 0%,
      rgba(42, 70, 129, 0.82) 35%,
      rgba(49, 85, 160, 0.55) 65%,
      rgba(56, 100, 192, 0.35) 100%),
    linear-gradient(180deg,
      rgba(34, 55, 99, 0) 55%,
      rgba(34, 55, 99, 0.45) 100%);
}
.pa-hero-glow {
  position: absolute; 
  top: -120px; 
  right: -120px; 
  z-index: 1;
  width: 480px; 
  height: 480px; 
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,120,207,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.pa-hero-content {
  position: relative; 
  z-index: 2;
  max-width: 1280px; 
  margin: 0 auto;
}
.pa-hero-breadcrumb {
  font-size: 13px; 
  color: rgba(255,255,255,0.78); 
  margin-bottom: 28px;
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}
.pa-hero-breadcrumb a { 
  color: rgba(255,255,255,0.78); 
}
.pa-hero-breadcrumb a:hover { 
  color: #fff; 
}
.pa-hero-breadcrumb .separator {
  margin: 0 12px; 
  color: rgba(255,255,255,0.45);
}
.breadcrumb-current { 
  color: #fff; 
}
.breadcrumb-muted { 
  color: rgba(255,255,255,0.78); 
}
.pa-hero h1 {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 56px; 
  line-height: 1.08;
  font-weight: 700; 
  letter-spacing: -0.028em; 
  color: #fff;
  margin: 0; 
  max-width: 880px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.30);
}
.hero-glow-bl {
  position: absolute; 
  bottom: -160px; 
  left: -100px; 
  z-index: 1;
  width: 380px; 
  height: 380px; 
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,142,217,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* === Shared accent/italic === */
.accent-italic { 
  font-style: italic; 
  font-weight: 400; 
  color: #3864C0; 
}

/* === CTA section (shared) === */
.cta-section {
  padding: 90px 80px; 
  background: #FFFFFF; 
  border-top: 1px solid #EDEEF1;
}
.cta-section--warm {
  background: linear-gradient(180deg, #FAFAF7 0%, #F5F3EE 100%);
}
.cta-container {
  max-width: 1280px; 
  margin: 0 auto;
  display: flex; 
  flex-wrap: wrap; 
  align-items: center;
  justify-content: space-between; 
  gap: 48px;
}
.cta-content { 
  flex: 1 1 460px; 
}
.cta-heading {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 30px; 
  font-weight: 700; 
  letter-spacing: -0.02em;
  line-height: 1.2; 
  color: #223763; 
  margin-bottom: 12px;
}
.cta-heading--lg { 
  font-size: 32px; 
}
.cta-text {
  font-size: 15.5px; 
  color: #3F4552; 
  line-height: 1.7;
  margin: 0; 
  max-width: 540px;
}

/* === Eyebrow label === */
.pa-eyebrow {
  font-size: 11px; 
  letter-spacing: 0.3em; 
  text-transform: uppercase;
  color: #3864C0; 
  font-weight: 600; 
  margin-bottom: 24px;
  display: flex; 
  align-items: center; 
  gap: 12px;
  line-height: 1;
}
.pa-eyebrow::before {
  content: '';
  display: inline-block; 
  width: 28px; 
  height: 1px; 
  background: #3864C0; 
  flex-shrink: 0;
}

/* === Responsive === */
@media (max-width: 1100px) {
  .site-header { 
    padding: 14px 48px; 
  }
  .site-header .nav-desktop { 
    gap: 24px; 
  }
  .home .site-header.is-scrolled { 
    padding: 12px 48px; 
  }
  .resp-nav { 
    padding: 16px 48px !important; 
  }
  .resp-nav nav { 
    gap: 24px !important; 
  }
  .resp-section-lg, .cta-section { 
    padding-left: 48px !important; 
    padding-right: 48px !important; 
  }
  .resp-grid-2 { 
    grid-template-columns: 1fr !important; 
    gap: 48px !important; 
  }
  .resp-h1 { 
    font-size: 44px !important; 
  }
  .resp-h2 { 
    font-size: 36px !important; 
  }
  .pa-hero h1 { 
    font-size: 44px !important; 
  }
}

@media (max-width: 700px) {
  .site-header { 
    padding: 14px 24px; 
  }
  .home .site-header.is-scrolled { 
    padding: 12px 24px; 
  }
  .site-header .nav-desktop { 
    display: none; 
  }
  .site-header .nav-mobile-toggle { 
    display: inline-flex; 
  }
  .resp-nav { 
    padding: 14px 24px !important; 
  }
  .nav-desktop { 
    display: none !important; 
  }
  .nav-mobile-toggle { 
    display: inline-flex !important; 
  }
  .resp-section-lg, .cta-section { 
    padding: 72px 20px !important; 
  }
  .site-footer { 
    padding: 48px 20px 24px; 
  }
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  .pa-hero { 
    min-height: 380px !important; 
    padding: 120px 20px 70px !important; 
  }
  .resp-grid-2 { 
    grid-template-columns: 1fr !important; 
    gap: 32px !important; 
  }
  .resp-grid-footer { 
    grid-template-columns: 1fr !important; 
    gap: 32px !important; 
  }
  .resp-h1, .pa-hero h1 { 
    font-size: 36px !important; 
  }
  .resp-h2 { 
    font-size: 28px !important; 
  }
  .resp-p { 
    font-size: 15px !important; 
  }
  .resp-hide-mobile { 
    display: none !important; 
  }
}

/* === WordPress Menu Integration === */
/* Make "Professional Service" parent not clickable */
.menu-item-has-children > a {
  pointer-events: none;
  cursor: default;
}
.menu-item-has-children .sub-menu a {
  pointer-events: auto;
  cursor: pointer;
}
