:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --navy:#102a4d;
  --navy-dark:#0b1f3a;
  --radius:14px;
  --shadow:0 8px 24px rgba(2,6,23,.06);
  --max:1120px;
  --pad:18px;
  --font:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

/* HEADER */

.header{
  background:#ffffff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:18px 0;
}

.brand{
  display:flex;
  align-items:center;
}

/* LOGO (FIXED) */
.custom-logo{
  height:82px;
  width:auto;
  max-width:none;
}

@media (max-width: 980px){
  .custom-logo{
    height:60px;
  }
}

.nav ul{
  list-style:none;
  display:flex;
  gap:28px;
  margin:0;
  padding:0;
}

.nav a{
  font-weight:600;
  color:var(--text);
  text-decoration:none;
  font-size:15px;
}

.nav a:hover{
  color:var(--navy);
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  transition:all .2s ease;
}

.btn-primary{
  background:var(--navy);
  color:#fff;
}

.btn-primary:hover{
  background:var(--navy-dark);
}

.btn-outline{
  border:2px solid var(--navy);
  color:var(--navy);
  background:#fff;
}

.btn-outline:hover{
  background:var(--navy);
  color:#fff;
}

/* PAGE */

.page,
.post{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:36px;
  margin:40px 0 60px;
}

.entry-title{
  text-align:center;
  font-size:clamp(36px,4vw,52px);
  margin-bottom:30px;
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
}

.entry-content h2{
  text-align:center;
  margin:60px 0 24px;
  font-size:28px;
}

.entry-content h3{
  margin:28px 0 12px;
  padding:14px 18px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:12px;
}

.entry-content hr{
  border:none;
  height:1px;
  background:var(--line);
  margin:60px auto;
  max-width:85%;
}

/* FOOTER */

.footer{
  background:#0f2547;
  color:#cbd5e1;
  padding:70px 0 40px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:60px;
}

.footer h3{
  color:#ffffff;
  margin-bottom:18px;
  font-size:17px;
}

.footer p,
.footer li{
  font-size:14px;
  line-height:1.8;
  color:#cbd5e1;
}

.footer ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer li{
  margin-bottom:10px;
}

.footer a{
  color:#cbd5e1;
  text-decoration:none;
}

.footer a:hover{
  color:#ffffff;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.15);
  margin-top:50px;
  padding-top:22px;
  text-align:center;
  font-size:13px;
  color:#94a3b8;
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }
}
/* ===== FIX: hide skip link unless focused ===== */
.skip-link{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.skip-link:focus{
  left:14px !important;
  top:14px !important;
  width:auto !important;
  height:auto !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  z-index:9999 !important;
}

/* ===== FIX: restore dropdown behavior (Services) ===== */
.nav ul{ position:relative; }
.nav li{ position:relative; }

/* Hide dropdown by default */
.nav ul ul{
  display:none !important;
  position:absolute !important;
  top:100% !important;
  left:0 !important;
  min-width:260px !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  box-shadow:var(--shadow) !important;
  padding:10px !important;
  z-index:9999 !important;
}

/* Show dropdown on hover/focus */
.nav li:hover > ul,
.nav li:focus-within > ul{
  display:block !important;
}

/* Dropdown links */
.nav ul ul a{
  display:block !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  white-space:normal !important;
}

/* Prevent top-level nav from wrapping */
.header-inner{ flex-wrap:nowrap !important; }
.nav ul{ flex-wrap:nowrap !important; white-space:nowrap !important; }
.nav a{ white-space:nowrap !important; }
/* Turn hero-actions links into buttons */
.hero-actions a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:14px 28px !important;
  border-radius:999px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  line-height:1 !important;
}

/* First link = primary (navy) */
.hero-actions a:first-child{
  background: var(--navy) !important;
  color:#fff !important;
}

/* Second link = outline (corporate) */
.hero-actions a:nth-child(2){
  border:2px solid var(--navy) !important;
  color: var(--navy) !important;
  background:#fff !important;
}
.hero-actions a:nth-child(2):hover{
  background: var(--navy) !important;
  color:#fff !important;
}
/* Force your inline flex CTA links to look like buttons */
.entry-content div[style*="justify-content:center"] > a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:14px 28px !important;
  border-radius:999px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  line-height:1 !important;
}

/* First CTA = navy */
.entry-content div[style*="justify-content:center"] > a:first-child{
  background: var(--navy) !important;
  color:#fff !important;
}

/* Second CTA = outline navy */
.entry-content div[style*="justify-content:center"] > a:nth-child(2){
  background:#fff !important;
  color: var(--navy) !important;
  border:2px solid var(--navy) !important;
}
.entry-content div[style*="justify-content:center"] > a:nth-child(2):hover{
  background: var(--navy) !important;
  color:#fff !important;
}
/* Force call links to look like buttons */
.entry-content a[href^="tel:"]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:14px 28px !important;
  border-radius:999px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  line-height:1 !important;
  background:#fff !important;
  color: var(--navy) !important;
  border:2px solid var(--navy) !important;
}

.entry-content a[href^="tel:"]:hover{
  background: var(--navy) !important;
  color:#fff !important;
}
/* ===== PERFECTLY CENTERED FOOTER FIX ===== */

.footer {
  width: 100%;
}

.footer .container {
  max-width: 1200px; /* slightly wider for better balance */
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
}

.footer-bottom {
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
}

/* Mobile balance */
@media (max-width: 900px) {
  .footer .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ===== Footer visual balance fix ===== */
.footer-grid{
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.footer-grid > div{
  max-width: 280px;
  width: 100%;
}

.footer-grid > div h3,
.footer-grid > div p,
.footer-grid > div ul{
  text-align: center;
}
/* ============================= */
/* PREMIUM NAV HOVER EFFECT */
/* ============================= */

.nav ul li a {
  position: relative;
  transition: color 0.25s ease;
}

.nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav ul li a:hover {
  color: var(--navy);
}

.nav ul li a:hover::after {
  width: 100%;
}
/* Clean corporate nav hover */

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--navy);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--navy2);
}

.nav a:hover::after {
  width: 100%;
}

/* Remove grey hover box */
.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  background: transparent !important;
}
/* ===== CLEAN CORPORATE NAV (NO BOX, NO UNDERLINE) ===== */

.nav a {
  background: transparent !important;
  text-decoration: none !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Remove any hover background or border */
.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
}

/* Subtle professional hover */
.nav a:hover {
  color: var(--navy2);
  opacity: 0.85;
}

/* Active page slightly darker */
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: var(--navy2);
  font-weight: 700;
}
/* ============================= */
/* PREMIUM NAV UNDERLINE EFFECT */
/* ============================= */

.nav a {
  position: relative;
  color: var(--text);
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--navy);
  background: transparent !important;
  text-decoration: none !important;
}

.nav a:hover::after {
  width: 100%;
}

/* Active page underline */
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
  width: 100%;
}
/* ============================= */
/* FINAL CORPORATE NAV HOVER */
/* ============================= */

.nav a{
  position: relative;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover{
  color: var(--navy);
  background: transparent;
}

/* Underline */
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background: var(--navy);
  transition: width 0.25s ease;
}

.nav a:hover::after{
  width:100%;
}

/* Active page stays underlined */
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after{
  width:100%;
}
/* ===== NAV HOVER (FORCED) ===== */
.nav, .nav ul, .nav li { overflow: visible !important; }

.nav a{
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 8px !important;
  color: var(--text) !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.nav a:hover{
  color: var(--navy) !important;
  background: transparent !important;
}

.nav a::after{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 0% !important;
  height: 2px !important;
  background: var(--navy) !important;
  transition: width 0.25s ease !important;
}

.nav a:hover::after{
  width: 100% !important;
}

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after{
  width: 100% !important;
}
/* Dropdown polish */
.nav ul ul{
  padding: 12px !important;
}

.nav ul ul a{
  border-radius: 10px !important;
  padding: 10px 12px !important;
}

.nav ul ul a:hover{
  background: rgba(16,42,77,0.06) !important;
}
/* ============================= */
/* CLEAN MOBILE MENU (FINAL) */
/* ============================= */

.nav-toggle{
  display:none;
  background:#fff;
  border:2px solid var(--navy);
  padding:10px 16px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
}

/* Mobile */
@media (max-width: 980px){

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav{
    display:none;
    width:100%;
    background:#fff;
    border-top:1px solid var(--line);
    padding:16px 0;
  }

  .nav.open{
    display:block;
  }

  .nav ul{
    flex-direction:column;
    gap:16px;
  }

  .nav a{
    display:block;
    padding:12px 18px;
    border-radius:12px;
  }

  .header-cta{
    display:none;
  }
}
/* ===== HERO ACTIONS (CENTER BUTTON ROW) ===== */
.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.hero-actions .btn{
  text-align:center;
}
/* ===== GLOBAL LINK COLOR NORMALIZATION ===== */

/* Default links (site-wide) */
a, a:visited {
  color: var(--navy);
}

/* Hover */
a:hover {
  color: var(--navy-dark);
}

/* Content links should stay consistent */
.entry-content a,
.entry-content a:visited {
  color: var(--navy) !important;
  text-decoration: underline;
}

.entry-content a:hover {
  color: var(--navy-dark) !important;
  text-decoration: underline;
}

/* Buttons must NEVER look like links */
a.btn,
a.btn:visited,
a.btn:hover,
a.btn:active {
  text-decoration: none !important;
}
/* ===== WPForms: match theme styling (when WPForms styling is OFF) ===== */
.wpforms-container{
  max-width: 750px;
  margin: 0 auto;
}

.wpforms-form{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.wpforms-field{
  margin-bottom: 14px;
}

.wpforms-field label{
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  color: var(--text);
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form select,
.wpforms-form textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 16px;
  background: #fff;
  color: var(--text);
}

.wpforms-form textarea{
  min-height: 120px;
}

.wpforms-field-description{
  color: var(--muted);
}

.wpforms-submit-container{
  margin-top: 10px;
}

.wpforms-form button[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
}

.wpforms-form button[type="submit"]:hover{
  background: var(--navy-dark);
}
/* ===== WPForms radio/checkbox layout fix ===== */
.wpforms-form ul,
.wpforms-form li{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wpforms-form .wpforms-field-radio ul,
.wpforms-form .wpforms-field-checkbox ul{
  display: grid;
  gap: 10px;
}

.wpforms-form .wpforms-field-radio li,
.wpforms-form .wpforms-field-checkbox li{
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpforms-form input[type="radio"],
.wpforms-form input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 0 !important;
}

/* remove the empty-looking bullet spacing */
.wpforms-form .wpforms-field-radio label,
.wpforms-form .wpforms-field-checkbox label{
  margin: 0 !important;
  font-weight: 600;
}
/* ===== FIX FOOTER LINK COLORS (override global link rule) ===== */

.footer a,
.footer a:visited{
  color: #cbd5e1 !important;
  text-decoration: none !important;
}

.footer a:hover{
  color: #ffffff !important;
}

/* ===== FIX BUTTON TEXT COLORS ===== */

.btn,
.btn:visited{
  text-decoration: none !important;
}

.btn-primary,
.btn-primary:visited{
  color: #ffffff !important;
}

.btn-outline,
.btn-outline:visited{
  color: var(--navy) !important;
}
/* ===== FORCE BUTTON TEXT VISIBILITY ===== */

.hero-actions .btn-primary,
.hero-actions .btn-primary:visited{
  color:#ffffff !important;
}

.hero-actions .btn-outline,
.hero-actions .btn-outline:visited{
  color:var(--navy) !important;
}
/* ===== Mobile CTA buttons: make them consistent ===== */
@media (max-width: 980px){
  .hero-actions{
    flex-direction: column;
  }
  .hero-actions .btn{
    width: 100%;
    max-width: 360px;
  }
}
/* ===== Tighten CTA vertical spacing on mobile ===== */
@media (max-width: 900px){

  .hero-actions{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px !important; /* controls space between stacked buttons */
  }

  .hero-actions .btn{
    width: 100%;
    max-width: 420px;
  }

}
/* ===== MOBILE HEADER: SHOW CTA UNDER MENU BUTTON ===== */
@media (max-width: 980px){

  .header-inner{
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .brand{
    flex: 1 1 auto !important;
  }

  .nav-toggle{
    flex: 0 0 auto !important;
  }

  .header-cta{
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 10px !important;
  }

  .header-cta .btn{
    width: 100% !important;
    max-width: 360px !important;
  }
}
/* ===== Mobile header row: logo left, Menu right ===== */
@media (max-width: 980px){

  .brand{
    flex: 0 0 auto !important;
  }

  /* LOGO (MOBILE OVERRIDE FIXED) */
  .custom-logo{
    height: 60px !important;
    width: auto !important;
    max-width: none !important;
  }

  .nav-toggle{
    margin-left: auto !important; /* pushes Menu button to the right */
  }
}
/* ===== Hamburger Icon ===== */

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:#fff;
  border:2px solid var(--navy);
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
}

.nav-toggle .hamburger{
  width:22px;
  height:2px;
  background:var(--navy);
  display:block;
  transition:all .3s ease;
}

/* Show on mobile */
@media (max-width: 980px){
  .nav-toggle{
    display:flex;
  }
}
/* ===== Animated Hamburger ===== */

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:#fff;
  border:2px solid var(--navy);
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
}

.nav-toggle .hamburger{
  width:22px;
  height:2px;
  background:var(--navy);
  display:block;
  transition:all .3s ease;
}

/* Animation when open */
.nav-toggle.active .hamburger:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.nav-toggle.active .hamburger:nth-child(2){
  opacity:0;
}

.nav-toggle.active .hamburger:nth-child(3){
  transform:rotate(-45deg) translate(5px,-5px);
}

/* Show on mobile only */
@media (max-width: 980px){
  .nav-toggle{
    display:flex;
  }
}
/* ===== FORCE hamburger to X (override conflicts) ===== */
.nav-toggle.active .hamburger:nth-child(1){
  transform: rotate(45deg) translate(5px,5px) !important;
}

.nav-toggle.active .hamburger:nth-child(2){
  opacity: 0 !important;
}

.nav-toggle.active .hamburger:nth-child(3){
  transform: rotate(-45deg) translate(5px,-5px) !important;
}
/* Homepage hero gradient */
.hero-home{
  padding: 34px 0 26px;
  background:
    radial-gradient(900px 520px at 12% 12%, rgba(105,168,79,.18), transparent 55%),
    radial-gradient(900px 520px at 88% 16%, rgba(16,42,77,.12), transparent 55%);
  border-bottom: 1px solid var(--line);
}

.hero-home .hero-inner{
  background: rgba(255,255,255,.80);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-home .hero-title{
  margin: 0 0 14px;
  text-align: left;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  border: 0;
  padding: 0;
}

.hero-home .hero-content{
  color: var(--muted);
}

@media (max-width: 980px){
  .hero-home .hero-title{ text-align: left; }
  .hero-home .hero-inner{ padding: 22px; }
}
/* ===== HOME: Services Grid ===== */
.home-services{
  padding: 50px 0 70px;
}

.section-title{
  text-align: left;
  font-size: 28px;
  margin: 0 0 18px;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.service-card h3{
  margin: 0 0 8px;
  font-size: 18px;
}

.service-card p{
  margin: 0;
  color: var(--muted);
}

/* Tablet + Mobile */
@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr; }
  .section-title{ text-align: center; }
}
/* ===== FIX: make service cards fully clickable ===== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

@media (max-width: 980px){
  .services-grid{ grid-template-columns:1fr; }
}

a.service-card{
  display:block;
  width:100%;
  text-decoration:none !important;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  cursor:pointer;
}

a.service-card:hover{
  border-color: rgba(16,42,77,.25);
  box-shadow:0 10px 26px rgba(2,6,23,.10);
}

a.service-card h3{ margin:0 0 8px; color:var(--text); }
a.service-card p{ margin:0; color:var(--muted); }
/* ===== Service cards: make whole box clickable (Homepage) ===== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

@media (max-width: 980px){
  .services-grid{ grid-template-columns:1fr; }
}

.service-card{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}


.service-card h3,
.service-card p{
  position:relative;
  z-index:3;
}

.service-card{
  transition: all 0.25s ease;
}

.service-card:hover{
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.35);
  box-shadow: 0 12px 28px rgba(2,6,23,0.12);
  cursor:pointer;
}

.service-card:hover h3{
  color: #15803d;
}
/* ===== Homepage Credibility Strip ===== */
.credibility-strip{
  background: linear-gradient(90deg, rgba(105,168,79,0.10), rgba(16,42,77,0.06));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.credibility-items{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
  font-weight:700;
  color:var(--navy);
  text-align:center;
  letter-spacing:0.01em;
}

.credibility-items span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border:1px solid rgba(226,232,240,0.9);
  background:rgba(255,255,255,0.75);
  border-radius:999px;
}

.credibility-items span:not(:last-child)::after{
  content:"";
  display:none;
}
/* ===== Credibility Strip Styling ===== */
.credibility-strip{
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.credibility-items{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:28px;
  font-weight:600;
  color: var(--navy);
  font-size:14px;
}

.credibility-items span{
  position:relative;
  padding-left:18px;
}

.credibility-items span::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#2e7d32;
  font-weight:700;
}
/* ===== Homepage: consistent CTA button sizing ===== */
.home .hero-actions .btn,
.page-id-16 .hero-actions .btn {
  min-width: 240px;
  height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Keep spacing consistent on homepage button rows */
.home .hero-actions,
.page-id-16 .hero-actions {
  gap: 16px;
}

/* Mobile: full-width, same height */
@media (max-width: 980px){
  .home .hero-actions .btn,
  .page-id-16 .hero-actions .btn{
    width: 100%;
    max-width: 360px;
  }
}
/* ===== Clean footer spacing (home only) ===== */
.home main#content{
  padding-bottom: 48px;
}
/* Home page only: add breathing room before footer */
.home .home-final-cta{
  margin-bottom: 56px !important;
}
/* ===== Home page: center section headings (without centering long body text) ===== */
.home-info .section-title,
.home-services .section-title,
.home-faq .section-title,
.home-info h2,
.home-faq h2 {
  text-align: center;
}

.home-info .center-text,
.home-faq .center-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Keep lists readable: left aligned, but centered block */
.home-info .info-list,
.home-faq .info-list,
.home-info ul,
.home-faq ul {
  max-width: 860px;
  margin: 18px auto 0;
  text-align: left;
}

/* Same idea for FAQ text blocks */
.home-faq > .container > div,
.home-info > .container > div {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Give the last CTA row breathing room before the footer */
.home-faq .hero-actions,
.home-info .hero-actions {
  margin-bottom: 34px;
}
/* ===== Homepage vertical spacing (tight balanced version) ===== */

.hero-home {
  padding: 60px 0 40px;
}

.home-services,
.home-info,
.home-faq,
.credibility-strip {
  padding: 38px 0;
}

/* Reduce hr spacing */
hr {
  margin: 28px auto;
  max-width: 960px;
  opacity: 0.25;
}

/* Section title spacing */
.section-title {
  margin-bottom: 16px;
}

/* Paragraph spacing */
.home-info p,
.home-faq p {
  margin-bottom: 10px;
}

/* Reduce list spacing */
.info-list li {
  margin-bottom: 6px;
}

/* Bottom spacing before footer */
.home-faq {
  padding-bottom: 45px;
}
/* ===== HOME PAGE: TIGHT SPACING OVERRIDE (FINAL) ===== */

/* Pull all homepage sections closer */
.hero-home { padding: 44px 0 24px !important; }
.credibility-strip { padding: 14px 0 !important; }
.home-services,
.home-info,
.home-faq { padding: 22px 0 !important; }

/* Kill big default margins inside homepage sections */
.home-services h2,
.home-info h2,
.home-faq h2 { margin: 0 0 12px !important; }

.home-services h3,
.home-info h3,
.home-faq h3 { margin: 14px 0 8px !important; }

.home-services p,
.home-info p,
.home-faq p { margin: 0 0 10px !important; }

/* Tighten lists */
.home-services ul,
.home-info ul,
.home-faq ul { margin: 8px 0 0 !important; padding-left: 18px !important; }

.home-services li,
.home-info li,
.home-faq li { margin: 0 0 6px !important; }

/* Reduce divider spacing */
.home-services hr,
.home-info hr,
.home-faq hr,
hr { margin: 18px auto !important; max-width: 900px !important; opacity: 0.2 !important; }

/* Tighten button rows */
.home-services .hero-actions,
.home-info .hero-actions,
.home-faq .hero-actions { margin-top: 14px !important; margin-bottom: 0 !important; }

/* Reduce extra bottom gap before footer */
.home-faq { padding-bottom: 26px !important; }
/* ===== HOME PAGE: clear section boundaries (professional) ===== */

/* Give every home section a consistent rhythm */
.home-services,
.home-info,
.home-faq,
.credibility-strip {
  padding: 46px 0;
}

/* Alternate backgrounds for separation */
.home-services { background: #ffffff; }
.home-info { background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-faq { background: #ffffff; }

/* If you have multiple .home-info sections, alternate them automatically */
.home-info:nth-of-type(even) {
  background: #ffffff;
  border-top: 0;
  border-bottom: 0;
}
.home-info:nth-of-type(odd) {
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Add a subtle divider line at the top of each section title area */
.section-title,
.home-faq h2,
.home-info h2 {
  position: relative;
  padding-top: 12px;
  margin-top: 0;
}

.section-title::before,
.home-faq h2::before,
.home-info h2::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--line);
  width: 90px;
  margin: 0 auto 14px;
  border-radius: 1px;
}

/* Tighten section text width so it doesn’t look “thin” and scattered */
.home-info .center-text,
.home-faq .center-text {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Fix the last CTA sitting too close to the footer */
.home-faq {
  padding-bottom: 70px;
}
/* ================================
   PREMIUM UPGRADE (HOME + GLOBAL)
   Paste at bottom of main.css
================================ */

/* Slightly softer page background so cards feel elevated */
body{
  background: #fbfdff;
}

/* Better typography rhythm */
.entry-content,
.home-info,
.home-services,
.home-faq{
  letter-spacing: -0.01em;
}

/* HERO: cleaner glass card + more depth */
.hero.hero-home{
  background: radial-gradient(900px 520px at 12% 0%, rgba(105,168,79,.14), transparent 55%),
              radial-gradient(900px 520px at 88% 10%, rgba(16,42,77,.10), transparent 55%),
              linear-gradient(180deg, rgba(15,37,71,.04), rgba(15,37,71,0));
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}

.hero.hero-home .hero-inner{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(2,6,23,.08);
  padding: 30px 28px;
}

.hero.hero-home .hero-title{
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.hero.hero-home .hero-sub{
  max-width: 72ch;
  color: var(--muted);
  margin: 0 auto 18px;
}

.hero.hero-home .hero-actions{
  margin-top: 18px;
}

/* Buttons: nicer hover + press */
.btn{
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(2,6,23,.10);
}
.btn:active{
  transform: translateY(0px);
  box-shadow: 0 6px 18px rgba(2,6,23,.10);
}

/* Credibility pills: more “badge” feel */
.credibility-strip{
  background: linear-gradient(90deg, rgba(105,168,79,0.08), rgba(16,42,77,0.06));
  border-top: 1px solid rgba(226,232,240,.9);
  border-bottom: 1px solid rgba(226,232,240,.9);
}
.credibility-items span{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 8px 18px rgba(2,6,23,.06);
}

/* Service cards: premium hover (soft green wash) */
.service-card{
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.service-card:hover{
  background: rgba(105,168,79,.07);
  border-color: rgba(105,168,79,.28);
  box-shadow: 0 18px 44px rgba(2,6,23,.10);
  transform: translateY(-2px);
}
.service-card h3{
  letter-spacing: -0.02em;
}

/* Make “Learn more” look intentional */
.service-card p[style*="text-decoration:underline"]{
  text-decoration: none !important;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--navy);
}
.service-card p[style*="text-decoration:underline"]::after{
  content: "→";
  font-weight: 900;
  transform: translateY(-1px);
}

/* Section titles: consistent, stronger */
.section-title{
  font-size: 28px;
  letter-spacing: -0.03em;
}

/* Home sections: clearer boundaries, less “template” feeling */
.home-services,
.home-info,
.home-faq{
  padding: 54px 0;
}

.home-info{
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-info:nth-of-type(even){
  background: #ffffff;
  border-top: 0;
  border-bottom: 0;
}

/* Subtle section top rule */
.section-title::before,
.home-info h2::before,
.home-faq h2::before{
  content: "";
  display: block;
  height: 3px;
  width: 64px;
  margin: 0 0 14px;
  border-radius: 3px;
  background: rgba(16,42,77,.9);
}

/* Better list styling so bullets don’t look “default” */
.info-list,
.home-info ul{
  padding-left: 18px;
}
.home-info li,
.info-list li{
  margin: 8px 0;
}

/* Footer polish: improve hierarchy */
.footer{
  background: #0f2547;
}
.footer h3{
  letter-spacing: -0.02em;
}
.footer-grid{
  gap: 48px;
}
.footer-bottom{
  margin-top: 34px;
}

/* Mobile tune: keep hero clean */
@media (max-width: 980px){
  .hero.hero-home{
    padding: 34px 0 26px;
  }
  .hero.hero-home .hero-inner{
    padding: 22px 18px;
  }
}
/* ===== Consistent Button System ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:44px;
  padding:12px 24px;
  font-weight:600;
  font-size:15px;
  border-radius:999px;
  text-decoration:none;
  transition:all .2s ease;
  white-space:nowrap;
  letter-spacing:0.2px;
}

/* Make buttons full width on mobile */
@media (max-width: 768px){
  .hero-actions,
  .home-info .hero-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .btn{
    width:100%;
    max-width:320px;
    margin:0 auto;
  }
}
/* Tighten mobile button spacing */
@media (max-width: 768px){

  .hero-actions{
    margin-top: 16px !important;
  }

  .hero-actions .btn{
    margin: 0 !important;
  }

  .hero-actions{
    gap: 8px !important;
  }

}
/* Mobile CTA spacing fix (strong override) */
@media (max-width: 980px){

  /* kill random margins that create huge gaps */
  .hero-actions,
  .hero-actions > *{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* if buttons are wrapped in block containers */
  .hero-actions .wp-block-button,
  .hero-actions .wp-block-buttons,
  .hero-actions p,
  .hero-actions div{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* enforce tight stacking */
  .hero-actions{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .hero-actions .btn,
  .hero-actions a.btn{
    width: 100% !important;
    max-width: 420px !important;
  }
}
/* CONTACT PAGE + ALL PAGE CTA ROWS: tighten mobile spacing + equal button size */
@media (max-width: 980px){

  /* Your CTA rows */
  .entry-content .hero-actions{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;                 /* controls space between buttons */
    margin: 14px auto !important;         /* prevents big vertical gaps */
  }

  /* Kill any inherited margins that create “mystery space” */
  .entry-content .hero-actions > a,
  .entry-content .hero-actions > .btn,
  .entry-content .hero-actions > *{
    margin: 0 !important;
  }

  /* Make buttons same size on mobile */
  .entry-content .hero-actions a.btn{
    width: 100% !important;
    max-width: 420px !important;
    min-height: 52px !important;
    line-height: 1.15 !important;         /* prevents weird text spacing */
    padding: 14px 22px !important;
    white-space: nowrap !important;
  }
}
/* === FORCE CTA BUTTON SPACING + SAME SIZE ON MOBILE (GLOBAL) === */
@media (max-width: 980px){

  /* Any CTA row on any page */
  .hero-actions{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 14px auto !important;
    padding: 0 !important;
  }

  /* Remove any mystery margins on children */
  .hero-actions > a,
  .hero-actions > .btn{
    margin: 0 !important;
  }

  /* Force both buttons to match */
  .hero-actions a.btn,
  .hero-actions a.btn.btn-primary,
  .hero-actions a.btn.btn-outline{
    width: 100% !important;
    max-width: 420px !important;
    min-height: 52px !important;
    padding: 14px 22px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
}
/* === GLOBAL CTA BUTTON ROW FIX (ALL PAGES) === */
@media (max-width: 980px){

  /* Any CTA wrapper we use anywhere */
  .hero-actions,
  .entry-content .hero-actions,
  .home-info .hero-actions,
  .hero-inner .hero-actions{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    margin:14px auto !important;
  }

  /* Force equal width/height on every CTA button */
  .hero-actions a,
  .hero-actions .btn,
  .hero-actions a.btn,
  .hero-actions a.btn-primary,
  .hero-actions a.btn-outline{
    width:100% !important;
    max-width:420px !important;
    min-height:52px !important;
    padding:14px 22px !important;
    line-height:1.15 !important;
    margin:0 !important;
    white-space:nowrap !important;
    text-align:center !important;
  }
}
/* ================================
   GLOBAL MOBILE BUTTON CONSISTENCY
   Applies to ALL pages
   ================================ */
@media (max-width: 980px){

  /* Any “button row” wrapper (we use a few patterns) */
  .hero-actions,
  .entry-content .hero-actions,
  .home-info .hero-actions,
  .hero-inner .hero-actions,
  .header-cta{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
  }

  /* All buttons inside those wrappers become same size */
  .hero-actions a,
  .hero-actions .btn,
  .header-cta a,
  .header-cta .btn{
    width:100% !important;
    max-width:420px !important;
    min-height:52px !important;
    padding:14px 22px !important;
    margin:0 !important;
    text-align:center !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
  }

  /* Kill random inline margins some pages have */
  .hero-actions[style],
  .entry-content .hero-actions[style]{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
/* Page-specific CTA row: fixes the big mobile gap without affecting other buttons */
@media (max-width: 768px){
  .cta-row{
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .cta-row a{
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
  }
}
@media (max-width: 980px){
  .hero-actions{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:12px !important;
  }

  .hero-actions .btn{
    width:100% !important;
    max-width:360px !important;
    margin:0 !important;
  }
}
/* ===== FINAL: kill mystery gaps between stacked CTAs on mobile ===== */
@media (max-width: 980px){

  /* Any common CTA wrapper patterns used across your pages */
  .hero-actions,
  .header-cta,
  .entry-content div[style*="display:flex"][style*="justify-content:center"]{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:12px !important;
  }

  /* Remove hidden spacing coming from paragraphs, breaks, or wrappers */
  .hero-actions > *,
  .header-cta > *,
  .entry-content div[style*="display:flex"][style*="justify-content:center"] > *{
    margin:0 !important;
  }

  /* Force consistent button sizing */
  .hero-actions a,
  .header-cta a,
  .entry-content div[style*="display:flex"][style*="justify-content:center"] a{
    width:100% !important;
    max-width:360px !important;
  }
}
/* ===== Mobile: stop content showing behind header ===== */
@media (max-width: 980px){
  .header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
  }

  body{
    padding-top: 110px; /* adjust if needed */
  }
}