/* =========================================================
   Kanata Fire Protection — Cleaned Core Styles (v2.1.1)
   MOBILE-FIRST + MIN-WIDTH ONLY
   Media queries are grouped at the END in breakpoint order.
   ========================================================= */

/* -----------------------------
   Fonts (LOCAL)
------------------------------ */
/* Tip: keep paths EXACT. These are root-relative. */

/* -----------------------------
   Design Tokens (mobile-first defaults)
------------------------------ */
:root{
  /* Layout */
  --max: 1100px;
  --pad: 12px;

  /* Content wrap + inset gutter */
  --wrap: min(var(--max), calc(100% - (var(--pad) * 2)));
  --inset: 8px;

  /* Font stacks */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;

  /* Type + rhythm */
  --measure: 68ch;
  --section-y: clamp(52px, 6vw, 92px);
  --stack-1: 10px;
  --stack-2: 16px;
  --stack-3: 26px;

  --h1: clamp(2.25rem, 3.6vw, 3.25rem);
  --h2: clamp(1.45rem, 2.2vw, 2.05rem);
  --p: clamp(1rem, 0.35vw + 0.98rem, 1.12rem);

  /* UI */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  /* Header height */
  --header-h: 68px;

  /* Brand colors */
  --red: #991607;
  --navy-dark: #030c33;
  --navy: #33437c;
  --gold: #bfa46c;
  --paper: #f1f1f1;
}

/* Layout utilities */
.container{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline:auto;
}
.section{ padding-block: var(--section-y); }
.clearfix::after{ content:""; display:table; clear:both; }

/* -----------------------------
   Resets / Base
------------------------------ */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; overflow-anchor:auto; }
body,h1,h2,h3,h4,p,ul,li,form{ margin:0; padding:0; }
img{ max-width:100%; height:auto; display:block; }

body{
  font-family:var(--font-sans);
  font-size:var(--p);
  line-height:1.6;
  text-rendering:optimizeLegibility;
  text-align:left;
  color:#000;
  background:#fff;
}

h1,h2,h3,h4{
  font-family:var(--font-sans);
  font-weight:700;
  line-height:1.1;
  font-style:normal;
}
h1{ font-size:var(--h1); line-height:1.15; margin:0 0 12px; }
h2{ font-size:var(--h2); line-height:1.2; margin:0 0 12px; }
h3{ font-size:1.4rem; }

/* Helpers */
.red{ color:var(--red); }
.dark-navy{ color:var(--navy-dark); }
.light-navy{ color:var(--navy); }
.white{ color:#fff; }
.gold{ color:var(--gold); }
.upper{ text-transform:uppercase; }
.bold{ font-weight:700; }

.underline{
  text-decoration:underline;
  text-underline-position:under;
  text-decoration-thickness:2px;
}
.top-marg{ margin-top:10px; }

.bg-light-navy{ background-color:var(--navy); }
.bg-white{ background-color:#fff; }
.bg-gold{ background-color:var(--gold); }

.poppins-regular-upper{
  text-transform:uppercase;
  text-decoration:none;
  font-size:0.65rem;
}
.poppins-regular{ font-size:0.9rem; }

/* Buttons */
button{
  background:var(--red);
  color:#fff;
  padding:0.55rem 1rem;
  cursor:pointer;
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  border:none;
  border-radius:20px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:700;
  font-size:1rem;
}

/* -----------------------------
   Header / Navigation
------------------------------ */
header{
  background:rgba(241,241,241,0.92);
  backdrop-filter:blur(8px);
  position:fixed;
  inset:0 0 auto 0;
  min-height:0;
  height:auto;
  z-index:1000;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
}
header .container{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  container-type:inline-size;
  padding:5px 0 10px 0;
}

.nav-toggle{
  width:2.8em;
  height:2.8em;
  display:grid;
  place-items:center;
  border-radius:0.7em;
}

/* Dim page when mobile menu open */
.nav-scrim{
  position:fixed;
  inset:calc(var(--header-h) + 2px) 0 0 0;
  background:rgba(0,0,0,0.28);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.18s ease-in-out;
  z-index:999;
}
.nav-scrim.is-open{
  opacity:1;
  pointer-events:auto;
}

/* Logo */
.kfp-logo{
  display:flex;
  padding:0;
  max-width:400px;
  margin-top:5px;
}
.logo{ width:100%; height:auto; display:block; }

.header-icon{ padding:0; margin:0; }
.mobile-envelope{ height:20px; margin-top:6px; }
.header-slogan{ display:none; }

/* Desktop nav hidden by default */
.lg-nav-menu{ display:none; }

/* Mobile nav wrapper */
.mobile-nav{
  display:flex;
  align-items:flex-end;
}

/* Hamburger */
.hamburger{
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:1.1rem;
  width:1.6rem;
  margin:0;
}
.bar{
  height:2px;
  width:100%;
  background-color:#000;
  border-radius:5px;
}

/* Mobile dropdown menu */
.nav-menu{
  list-style:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  width:100%;
  margin:0;
  background:#f9f9f8;
  padding:0;
  border:0;
  box-shadow:none;
  border-radius:0 0 8px 8px;
  text-align:left;
  z-index:1002;

  height:0;
  overflow:hidden;
  opacity:1;
  transform:translateY(0);
  transform-origin:top;

  transition:
    height 260ms ease-out,
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

/* Hidden state */
.nav-menu.collapsed{
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  padding:0;
  border:0;
  box-shadow:none;
}

/* Open state */
.nav-menu.show-menu,
.nav-menu.is-open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
  padding:5px 0 10px;
  border-top:2px solid var(--red);
  border-bottom:1px solid rgba(0,0,0,0.10);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    0 1px 0 rgba(0,0,0,0.06);
}

/* Items + separators */
.nav-menu li{ margin:0; padding:0; }
.nav-menu li + li{ border-top:1px solid rgba(0,0,0,0.07); }
.nav-menu li:last-child{ border-bottom:none; }

.nav-menu li a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 18px;
  text-transform:uppercase;
  font-weight:650;
  letter-spacing:0.12em;
  font-size:0.95rem;
  line-height:1.1;
  color:#000;
  text-decoration:none;
}

/* Mobile nav current page */
.nav-menu li a[aria-current="page"]{
  color:rgba(17,24,39,0.98);
  position:relative;
}
.nav-menu li a[aria-current="page"]::before{
  content:"";
  position:absolute;
  left: 8px;
  top: 14px;
  bottom: 14px;
  width:2px;
  border-radius:2px;
  background:var(--red);
}

.nav-menu .nav-phone{
  margin-top:8px;
  padding:12px 20px 4px;
  border-top:1px solid rgba(0,0,0,0.08);
  font-size:0.82rem;
  letter-spacing:0.06em;
  color:#333;
  display:flex;
  align-items:center;
  gap:10px;
  opacity:0.85;
}

/* Tap + focus */
.nav-menu li a:active{ background:rgba(0,0,0,0.06); }
.nav-menu li a:focus-visible{
  outline:2px solid rgba(153,22,7,0.35);
  outline-offset:2px;
}

/* -----------------------------
   Sections
------------------------------ */
section{ padding:0; clear:both; }

section#About,
section#Services{
  margin-top:0;
}

/* Offset content under fixed header */
#Welcome{ margin-top:var(--header-h); }

/* -----------------------------
   Banner / Hero
------------------------------ */
.banner-photo-wrapper{ width:100%; position:relative; }

.banner-photo{
  position:relative;
  background-image:url(../images/extinguisher.webp);
  overflow:hidden;
  min-height:clamp(320px, 30vh, 520px);
  background-size:cover;
  background-repeat:no-repeat;
  background-position:35% center;

  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-left:calc(var(--inset) + var(--pad));
  padding-right:calc(var(--inset) + var(--pad));
}

html.modal-lock .banner-photo{
  padding-right:calc(var(--inset) + var(--pad));
}

.banner-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.58) 58%,
    rgba(0,0,0,.34) 78%,
    rgba(0,0,0,.18) 100%
  );
}

.kfp-text-inner{
  position:relative;
  width:min(680px, 100%);
  margin:0;
  color:#fff;
  text-align:left;
  z-index:1;
  padding-top:clamp(15px, 3vh, 30px);
  padding-bottom:clamp(15px, 3.5vh, 30px);
}
.kfp-text-inner h1{
  font-weight:800;
  letter-spacing:0.01em;
  line-height:1.05;
  text-wrap:balance;
  margin:0 0 12px;
}
.kfp-text-inner h3{
  border-left:10px solid var(--red);
  font-size:1.9rem;
  padding-left:15px;
  padding-bottom:10px;
}
.kfp-text-inner p{
  color:#fff;
  margin-top:16px;
  max-width:52ch;
}

.hero-cred{
  margin-top:14px;
  display:none;
  flex-wrap:wrap;
  align-items:center;
  font-size:0.75rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.75);
}
.hero-cred span + span::before{
  content:"•";
  display:inline-block;
  margin:0 10px;
  color:rgba(255,255,255,0.45);
}

.kfp-text-inner .phone{ margin-top:18px; }

.phone-link{
  text-decoration:none;
  color:#fff;
  position:relative;
  margin-left:25px;
  font-weight:600;
}
.phone-link::before{
  position:absolute;
  display:inline-block;
  content:"";
  background-image:url("../images/phone-96-white.png");
  width:20px;
  height:20px;
  left:-25px;
  top:0.1em;
  background-size:contain;
  background-repeat:no-repeat;
}

.kfp-text-inner button{
  position:relative;
  margin-top:22px;
  padding:0.75rem 1.5rem;
  border-radius:999px;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

#kfp-text-inner-contact{
  padding:12px 20px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:0.05em;
  box-shadow:0 10px 22px rgba(0,0,0,0.22);
  transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
#kfp-text-inner-contact:hover{
  transform:translateY(-1px);
  filter:brightness(0.95);
  box-shadow:0 14px 28px rgba(0,0,0,0.26);
}

/* -----------------------------
   Tabs / Cards
------------------------------ */
.tabs-row{
  width:min(var(--wrap), 1100px);
  margin:24px auto 0;
  padding:0 var(--inset);
  display:flex;
  flex-direction:column;
  gap:16px;
  justify-content:center;
  background:transparent;
  border:0;
  transform:none;
  align-items:stretch;
}

.tabs-row a{
  text-decoration:none;
  color:#000;
  display:block;
  width:100%;
  max-width:300px;
  margin:0 auto;
}

.tile-text-wrapper{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.tab{
  flex:1 1 0;
  text-align:center;
  background:#fff;
  border-radius:16px;
  padding:0 5px 5px;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position:relative;
  border-top:none;
}
.tab::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:8px;
  border-radius:14px 14px 0 0;
  background:var(--accent);
}
.tab:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(0,0,0,0.10);
}

/* Per-card accents */
.tab-1{ --accent:#b08f00; }
.tab-2{ --accent:#8f1b12; }
.tab-3{ --accent:#6f8fa3; }

.inner-tab-1,.inner-tab-2,.inner-tab-3{
  width:100%;
  height:100%;
  padding:1rem 0;
}

.tabs-row .inner-tab-1,
.tabs-row .inner-tab-2,
.tabs-row .inner-tab-3{
  font-weight:600;
  letter-spacing:.2px;
  gap:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:1rem 4px 15px;
  justify-content:start;
}

.tabs-row .tile-sub{
  font-size:0.85em;
  opacity:1;
  line-height:1.3;
  max-width:26ch;
  color:#5f5f5f;
}

/* Icon circles */
.yellow-circle-icon,
.red-circle-icon,
.blue-circle-icon{
  width:96px;
  height:96px;
  border-radius:999px;
  display:grid;
  place-items:center;
  margin:14px auto 0;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.18);
}
.yellow-circle-icon{ background:#b08f00; }
.red-circle-icon{ background:#8f1b12; }
.blue-circle-icon{ background:#6f8fa3; }

/* -----------------------------
   Icon system
------------------------------ */
.tile-icon{
  display:block;
  width:72%;
  height:72%;
  margin:auto;
  color:#fff;
}
.tile-icon *{
  vector-effect:non-scaling-stroke;
  stroke:currentColor;
  stroke-width:3.25;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
.tile-icon--fill,
.tile-icon--fill *{
  stroke-width:3px;
}

/* Optical tweaks per icon */
.yellow-circle-icon .tile-icon{ transform:scale(1); width:68%; }
.red-circle-icon .tile-icon{ width:60%; overflow:visible; }
.blue-circle-icon .tile-icon{ transform:scale(1.04); width:74%; height:74%; }

/* -----------------------------
   Content Blocks
------------------------------ */
.content-header-1{
  text-align:left;
  width:91%;
  margin:10px auto 0;
  line-height:1.9;
  position:relative;
}
.banner-quote{
  color:#fff;
  position:relative;
  padding:0 20px;
  bottom:20px;
}
.content-body{
  width:88%;
  margin:30px auto 0;
  text-align:left;
  position:relative;
}
.content-body h3{
  font-size:1.9rem;
  padding:5px 0;
}

/* Base section title */
.section-title{
  margin:30px auto 0;
  width:85%;
  font-size:clamp(2rem, 6vw, 2.6rem);
  line-height:1.05;
  letter-spacing:-0.02em;
  font-weight:800;
  color:rgba(17,24,39,0.98);
}
#Services .section-title{ margin:0; }

section#Services{
  margin-bottom:10px;
  padding-top:calc(var(--header-h, 86px) + 25px);
  background:linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}
section#Services .content-body{
  margin-top:10px;
  max-width:var(--measure);
}
.page-head-wrap{
  width:calc(92% - 6px);
  margin:0 auto;
}

/* -----------------------------
   Home: Card-anchored Service Detail
------------------------------ */
.home-service-detail{
  scroll-margin-top:calc(var(--header-h, 86px) + 18px);
  padding-block:clamp(18px, 3vw, 36px);
}

.home-service-detail::before{
  content:"";
  display:block;
  width:min(var(--wrap), 980px);
  height:1px;
  margin:0 auto clamp(12px, 2vw, 18px);
  background:linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.10) 20%,
    rgba(0,0,0,0.10) 80%,
    rgba(0,0,0,0) 100%
  );
}

.home-service-detail .section-title{
  width:min(var(--wrap), 980px);
  margin:0 auto 14px;
  text-align:center;
  letter-spacing:0.01em;
}

.home-service-detail .detail-copy{
  width:min(var(--wrap), 980px);
  margin:0 auto;
  max-width:clamp(66ch, 7vw + 60ch, 94ch);
  padding-inline:clamp(14px, 3.2vw, 28px);
}

.home-service-detail .detail-copy p{
  margin:0;
  text-align:left;
  color:rgba(0,0,0,0.84);
  line-height:1.8;
  font-size:clamp(0.98rem, 0.35vw + 0.92rem, 1.08rem);
}
.home-service-detail .detail-copy p + p{ margin-top:14px; }

.home-service-detail:target{
  animation:kfpTargetGlow 1.2s ease-out 1;
  border-radius:18px;
}
@keyframes kfpTargetGlow{
  0%{
    box-shadow:0 0 0 0 rgba(160, 20, 20, 0.00);
    background-color:rgba(160, 20, 20, 0.00);
  }
  15%{
    box-shadow:0 0 0 6px rgba(160, 20, 20, 0.10);
    background-color:rgba(160, 20, 20, 0.03);
  }
  100%{
    box-shadow:0 0 0 0 rgba(160, 20, 20, 0.00);
    background-color:rgba(160, 20, 20, 0.00);
  }
}
#Maintenance.home-service-detail{
  padding-bottom:80px;
}
#response-message{
  min-height: 0;
  margin-top: 14px;
}

.form-status{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status strong{
  font-size: 0.98rem;
  font-weight: 700;
}

.form-status span{
  color: rgba(17,24,39,0.72);
}

.form-status--success{
  background: rgba(26,140,92,0.08);
  border: 1px solid rgba(26,140,92,0.22);
  color: rgba(17,24,39,0.92);
}
/* ============================
   SERVICES — Visibility rules
============================ */
#Services .services-lead{
  display:none;
  margin:16px auto 25px;
  width:calc(100% - 6px);
  font-size:0.95rem;
  line-height:1.65;
  color:rgba(0,0,0,0.72);
  letter-spacing:-0.04px;
  text-align:left;
}

.svc-mobile{ display:block; }
.svc-desktop{ display:none; }

#Services .svc-teaser{ display:none; }
#Services .svc-lead-tab{ display:none; }

/* -----------------------------
   Accordion (Services page)
------------------------------ */
.accordion{
  width:100%;
  max-width:800px;
  margin:15px auto;
  border-radius:20px;
}

#Services .accordion-item{
  border:1px solid rgba(17,24,39,0.12);
  border-radius:10px;
  background:#fff;
  box-shadow:0 8px 22px rgba(17,24,39,0.06);
  margin-bottom:18px;
}

#Services .accordion-button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  border:0;
  background:transparent;
  padding:16px 16px;
  margin:0;
  text-align:left;
  text-transform:none;
  color:#000;
  font-size:0.95rem;
  letter-spacing:0.04em;
  cursor:pointer;
  outline:none;
}
#Services .accordion-button:focus{ outline:none; }

#Services .button-left{
  display:inline-block;
  width:auto;
  padding-top:1px;
}

/* Optional keyboard-only focus styling */
@supports selector(:focus-visible){
  #Services .accordion-item:focus-within{
    border-color:rgba(17,24,39,0.12);
    box-shadow:0 10px 26px rgba(17,24,39,0.06);
  }
  #Services .accordion-button:focus-visible{ outline:none; }
}

#Services .accordion-button:focus:not(:focus-visible){ outline:none; }

#Services .accordion-icon.button-right,
#Services .button-right{
  float:none;
  width:40px;
  text-align:center;
}

#Services .accordion-icon{
  display:inline-block;
  font-size:1.125rem;
  font-weight:600;
  color:var(--red);
  transition:transform 0.2s ease;
  transform-origin:center;
  opacity:0.60;
}
#Services .accordion-icon.open-icon{ transform:rotate(45deg); }

#Services .accordion-panel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows 320ms ease;
  position:relative;
}
#Services .accordion-panel.is-open{ grid-template-rows:1fr; }

#Services .accordion-panel > .accordion-content{
  overflow:hidden;
  padding:0 16px;
  padding-left:23px;
  padding-right:23px;
  margin:0;
  max-height:unset;
  opacity:1;
  transform:none;
  transition:none;
}
#Services .accordion-panel.is-open > .accordion-content{ padding-bottom:20px; }

#Services .accordion-content{ background:transparent; }
#Services .accordion-content p{
  color:rgba(0,0,0,0.84);
  font-size:0.95rem;
  line-height:1.5;
  padding-top:8px;
}
#Services .accordion-content h4{
  color:rgba(0,0,0,0.75);
  font-size:0.94rem;
  letter-spacing:0.01em;
  margin:12px 0 0;
  padding-left:0;
  position:relative;
  font-weight:600;
}

/* If you have .red class on headings, don't let it hijack the color */
#Services .accordion-content .red{ color:inherit; }

#Services .accordion-content ul{
  padding-top:15px;
  position:relative;
}
#Services .accordion-content li{
  list-style:none;
  font-size:0.9rem;
  padding-left:30px;
  position:relative;
}

#Services .accordion-button.accordion-open,
#Services .accordion-item.is-closing .accordion-button{
  border-radius:10px 10px 0 0;
}

/* Services copy helpers */
#Services .accordion-content .svc-lead-mobile{
  margin:0 0 10px;
  font-size:0.95rem;
  color:rgba(0,0,0,0.92);
  line-height:1.5;
  font-weight:500;
}

#Services .accordion-content .svc-note{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(17,24,39,0.08);
  font-size:0.9rem;
  color:rgba(0,0,0,0.68);
}

#Services ul.svc-list{
  list-style:none;
  padding:0;
  margin:8px 0 14px;
}
#Services .svc-list li{
  padding-left:14px;
  margin-bottom:6px;
  line-height:1.4;
  color:rgba(0,0,0,0.84);
  position:relative;
}
#Services .svc-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.55em;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(0,0,0,0.55);
}
/* ============================
   ABOUT — aligned to Services baseline
============================ */
section#About{
  padding-top:calc(var(--header-h, 86px) + 25px);
  background:linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

#About .about-page{
  padding-bottom:30px;
}

#About .page-head-wrap{
  width:calc(92% - 6px);
  margin:0 auto;
}

#About .about-intro,
#About .about-section,
#About .about-split,
#About .about-values{
  width:min(88%, 980px);
  margin-left:auto;
  margin-right:auto;
}

#About .about-intro{
  margin-top:10px;
  margin-bottom:34px;
}

#About .about-lead{
  font-size:clamp(0.98rem, 0.35vw + 0.92rem, 1.08rem);
  line-height:1.8;
  color:rgba(0,0,0,0.84);
}

#About .about-split{
  display:block;
  margin-bottom:42px;
}

#About .about-copy h2,
#About .about-section h2{
  font-size:clamp(1.9rem, 2.2vw, 2.35rem);
  line-height:1.12;
  letter-spacing:-0.02em;
  font-weight:750;
  margin:0 0 14px;
  color:rgba(17,24,39,0.96);
  max-width:20ch;
}

#About .about-copy p,
#About .about-section p,
#About .about-value-card p{
  font-size:1rem;
  line-height:1.75;
  color:rgba(17,24,39,0.80);
  width: 100%;
}

#About .about-copy p + p,
#About .about-section p + p{
  margin-top:16px;
}

#About .about-highlights{
  margin-top:24px;
  background:#fff;
  border:1px solid rgba(17,24,39,0.08);
  border-radius:18px;
  padding: 20px clamp(24px, 3.5vw, 28px);
  box-shadow:0 10px 26px rgba(17,24,39,0.05);
}

#About .about-highlights h3{
  font-size:1.05rem;
  line-height:1.25;
  letter-spacing:-0.01em;
  font-weight:700;
  margin: 0 0px;
  color:rgba(17,24,39,0.92);
}

#About .about-list{
  list-style:none;
  margin:0;
  padding:0;
}

#About .about-list li{
  position:relative;
  padding-left:14px;
  margin-bottom: 8px;
  color:rgba(17,24,39,0.78);
  line-height:1.5;
}

#About .about-list li:last-child{
  margin-bottom:0;
}

#About .about-list li::before{
  content:"";
  position:absolute;
  left: -5px;
  top:0.62em;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(153,22,7,0.65);
}
   #About .about-highlight-groups .about-mini-head{
  margin:14px 0 6px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(17,24,39,.55);
  list-style:none;
}


#About .about-section{
  margin-bottom:46px;
}

#About .about-values{
  display:block;
  margin-bottom:50px;
}

#About .about-value-card{
  background:#fff;
  border:1px solid rgba(17,24,39,0.08);
  border-radius:18px;
  padding:24px 22px;
  box-shadow:0 10px 24px rgba(17,24,39,0.05);
  margin-bottom:18px;
}

#About .about-value-card:last-child{
  margin-bottom:0;
}

#About .about-value-card h3{
  font-size:1.14rem;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-0.01em;
  margin:0 0 12px;
  color:rgba(17,24,39,0.94);
}

#About .about-closing{
  margin-bottom: 0;
}

#About .about-cta{
  margin-top: 36px;
}

#About .about-cta a{
  display:inline-block;
  text-decoration:none;
  background:var(--red);
  color:#fff;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
#Services .section-title,
#About .section-title{
  margin:0 auto 26px;
  width:100%;
}
  .about-highlights h3{
  font-size:1.1rem;
  font-weight:700;
  letter-spacing:0.02em;
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(0,0,0,0.08);
}


  .about-mini-head::before{
  display:none;
}
 #About .about-closing{
   padding-bottom: 50px;
   background: rgba(17,24,39,0.03);
 }
#About .about-closing-inner{
  max-width:70ch;
}
/* ============================
   About closing — full-bleed background
   while preserving existing container/content structure
============================ */
#About .about-section.about-closing{
  position: relative;
  isolation: isolate;
  padding-top: clamp(22px, 3vw, 30px);
}

#About .about-section.about-closing::before{
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f7f7f8;
  z-index: -1;
}

/* keep readable measure */
#About .about-section.about-closing .about-closing-inner{
  max-width: 70ch;
}

#About .about-section.about-closing h2{
  margin: 0 0 18px;
}

#About .about-section.about-closing p{
  margin: 0;
}

#About .about-section.about-closing p + p{
  margin-top: 16px;
}

#About .about-section.about-closing .about-cta{
  margin-top: 28px;
}
@media (min-width: 640px){
  section#About{
    padding-top:calc(var(--header-h, 86px) + 30px);
  }


  #About .section-title{
    margin-bottom:18px;
  }

  #About .about-intro,
  #About .about-section,
  #About .about-split,
  #About .about-values{
    width:min(90%, 980px);
  }


}
@media (min-width: 575px) and (max-width: 919.98px){
    #About .about-highlight-groups{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 4vw, 42px);
    row-gap: 14px;
    align-items:start;
  }

}

@media (min-width: 920px){
  section#About{
    background:#fbfbfc;
  }

  #About .page-head-wrap{
    width: min(1020px, calc(100% - 140px));
    margin:0 auto;
    padding-bottom:6px;
  }

  #About .section-title{
    text-align:left;
    margin: 10px auto 12px;
    letter-spacing:-0.01em;
  }

  #About .about-intro,
  #About .about-section,
  #About .about-split,
  #About .about-values{
    width:min(1020px, calc(100% - 140px));
  }

  #About .about-intro{
    margin-bottom: 50px;
    max-width:none;
  }

  #About .about-lead{
    /* max-width: 80ch; */
  }

  #About .about-split{
    display:grid;
    grid-template-columns:minmax(0, 1.45fr) minmax(260px, 0.9fr);
    column-gap:clamp(28px, 3vw, 56px);
    align-items:start;
    margin-bottom: 30px;
  }

  #About .about-copy h2,
  #About .about-section h2{
    max-width:20ch;
  }

  #About .about-highlights{
    margin-top: 10px;
    position:relative;
    top:2px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  #About .about-values{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
    margin-bottom:54px;
  }

  #About .about-value-card{
    margin-bottom:0;
    height:100%;
  }



}

@media (min-width: 1200px){
  #About .page-head-wrap,
  #About .about-intro,
  #About .about-section,
  #About .about-split,
  #About .about-values{
    width:min(1020px, calc(100% - 140px));
  }
}

/* ============================
   Privacy Policy
============================ */
section#Privacy{
      padding-top: calc(var(--header-h, 86px) + 30px);
  padding-bottom:40px;
}
.page-head-wrap.privacy-head{
  max-width:820px;
}
.privacy-title{
  margin-bottom:20px;
  margin-left: 0;
  margin-top: 0;
}
.privacy-lead{
  max-width:830px;
  margin:0 auto;
}

/* ============================
   Footer
============================ */
.footer-transition{
  /* height:56px; */
  background:linear-gradient(
    180deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.90) 35%,
    rgba(255,255,255,0.55) 70%,
    rgba(255,255,255,0) 100%
  );
}

.site-footer::before{
  content:"";
  display:block;
  height:34px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0));
}

.site-footer{
  background:#0d1117;
  color:rgba(255,255,255,0.88);
  border-top:1px solid rgba(255,255,255,0.08);
  padding:0 0 20px;
  font-family:var(--font-sans);
}

.site-footer .footer-inner{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
  padding:0 28px;
}

.footer-rule{ height:1px; background:rgba(255,255,255,0.08); }

.footer-top{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px 0;
  text-align:left;
}
.footer-top > *{ min-width:0; }

.footer-lg-sections{ display:none; }
.footer-mobile-sections{ display:block; }

.footer-brand{ padding:0; }

.footer-title{
  font-size:1.85rem;
  letter-spacing:-0.03em;
  line-height:1;
  margin:0 0 14px;
  color:#fff;
  font-weight:700;
  text-transform:uppercase;
  font-family:"Kudryashev","Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.footer-tagline{
  font-size:0.95rem;
  color:rgba(255,255,255,0.65);
  line-height:1.6;
  margin:0 0 12px;
  max-width:40ch;
}

.footer-meta-wrapper{
  display:flex;
  flex-wrap:wrap;
  gap:4px 12px;
  margin-top:10px;
}

.footer-meta-wrapper .meta-unit{
  white-space:nowrap;
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:0.10em;
  color:rgba(255,255,255,0.35);
  display:inline-block;
}

.meta-break{ display:none; }

.footer-heading{
  font-size:0.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.15em;
  color:rgba(255,255,255,0.40);
  margin:0 0 18px;
}

.footer-vertical-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
  color:rgba(255,255,255,0.70);
  font-size:0.95rem;
}

.footer-vertical-links a{
  text-decoration:none;
  color:rgba(255,255,255,0.75);
  transition:color 0.18s ease;
}
.footer-vertical-links a:hover{ color:#fff; }

.footer-coverage .footer-vertical-links,
.footer-cred-col .footer-vertical-links{
  color:rgba(255,255,255,0.62);
}
.footer-coverage .footer-vertical-links li,
.footer-cred-col .footer-vertical-links li{
  letter-spacing:0.01em;
}

.footer-contact-bar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:20px 0 0;
  flex-wrap:wrap;
}

.footer-contact-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:rgba(255,255,255,0.88);
  font-weight:600;
  font-size:0.95rem;
  line-height:1.25;
}
.footer-contact-link:hover{ color:rgba(255,255,255,0.98); }

.footer-contact-bar .ico{
  opacity:0.70;
  color:rgba(255,255,255,0.70);
  display:inline-flex;
}

.footer-dot{
  opacity:0.35;
  color:rgba(255,255,255,0.55);
}

.footer-bottom{
  text-align:center;
  padding-top:16px;
  font-size:0.75rem;
  color:rgba(255,255,255,0.30);
}
.footer-contact-trigger {
  background: none;
  border: none;
  padding: 0;
  color: inherit; /* Inherits the link color of the footer */
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  text-transform:none;
  transition: color 0.18s ease;
  letter-spacing: inherit;
}
.footer-contact-trigger:hover {
  color:#fff; /* Matches your other links */
}
/* -----------------------------
   Contact Popup / Modal
------------------------------ */
.no-scroll{
  overflow:hidden;
  padding-right:var(--scrollbar-width);
}
.header-no-scroll{ right:var(--scrollbar-width); }
.contact-no-scroll{ padding-right:var(--scrollbar-width); }

html.modal-lock{ padding-right:var(--scrollbar-width); }
body.modal-lock{ overflow:hidden; }

.popup{
  display:none;
  position:fixed;
  inset:0;
  z-index:1000;
  justify-content:center;
  align-items:center;
  padding:28px 14px;
  background:rgba(10, 12, 16, 0.62);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  opacity:0;
  transition:opacity 0.3s ease-in-out;
}
.popup.show{
  display:flex;
  opacity:1;
}

.popup-content{
  width:min(640px, 92vw);
  max-height:calc(100vh - 56px);
  overflow:auto;
  box-sizing:border-box;
  background:#fbfbfc;
  border:1px solid rgba(0,0,0,0.08);
  border-top:none;
  border-radius:18px;
  padding:20px 18px 18px;
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:0.95rem;
  text-align:left;
  box-shadow:
    0 28px 80px rgba(0,0,0,0.38),
    0 1px 0 rgba(255,255,255,0.55) inset;
  overflow:hidden;
}

.popup-content::before{
  content:"";
  display:block;
  height:15px;
  margin:-20px -18px 14px;
  background:linear-gradient(90deg, #8f1b12 0%, #b02a1f 55%, #8f1b12 100%);
  border-radius:14px 14px 0 0;
  opacity:0.95;
}

.contact-header{
  width:100%;
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:2px 0 12px;
  margin-bottom:12px;
}
.contact-header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.10) 18%,
    rgba(0,0,0,0.10) 82%,
    rgba(0,0,0,0) 100%
  );
}

.contact-header h2{
  order:1;
  margin:0;
  margin-right:auto;
  font-size:clamp(2rem, 1.2vw + 1.7rem, 2.35rem);
  line-height:1.02;
  letter-spacing:-0.025em;
  font-weight:800;
  color:rgba(17,24,39,0.98);
}
.contact-sub{
  order:3;
  flex-basis:100%;
  margin:8px 0 0;
  font-size:0.98rem;
  line-height:1.5;
  font-weight:500;
  color:rgba(17,24,39,0.62);
}
.contact-direct{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  text-align:center;
  font-size:0.95rem;
  line-height:1.35;
  color:rgba(17,24,39,0.50);
}

.contact-direct-link{
  display:inline-flex;
  gap:6px;
  text-decoration:none;
  color:rgba(17,24,39,0.50);
  font-weight:500;
  transition:color 160ms ease, transform 160ms ease;
  line-height: 0.85;
}

.contact-direct-link .ico{
  display:inline-flex;
  align-items: flex-end;
  justify-content: center;
  color:currentColor;
  flex:0 0 auto;
}

.contact-direct-link .ico svg{
  display:block;
  width: 16px;
  height: 16px;
}

.contact-direct-text{
  display:inline-block;
  transform:translateY(0.5px);
}

.contact-direct-sep{
  color:rgba(17,24,39,0.28);
  line-height:1;
  transform:translateY(-1px);
}

.contact-direct-link:hover{
  color:var(--red);
  transform:translateY(-1px);
}

@media (max-width: 560px){
  .contact-direct{
    flex-direction:column;
    gap:10px;
  }

  .contact-direct-sep{
    display:none;
  }
}
.close-btn{
  order:2;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.10);
  background:rgba(255,255,255,0.92);
  color:#000;
  cursor:pointer;
  line-height:1;
  font-size:1.375rem;
  padding:0 0 3px;
  box-shadow:0 10px 20px rgba(0,0,0,0.10);
  transition:transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.close-btn:hover,
.close-btn:focus{
  background:#fff;
  transform:translateY(-1px);
  box-shadow:0 14px 26px rgba(0,0,0,0.14);
  outline:none;
}

/* -----------------------------
   Contact Form
------------------------------ */
#contact-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
}

#contact-form label{
  margin-top:6px;
  font-size:0.9rem;
  font-weight:700;
  color:rgba(0,0,0,0.72);
}

#contact-form .label-no-show{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

#contact-form input,
#contact-form textarea{
  width:100%;
  box-sizing:border-box;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.12);
  background:rgba(255,255,255,0.96);
  font-size: 0.9rem;
  outline:none;
  box-shadow:0 1px 0 rgba(0,0,0,0.02) inset;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    transform 120ms ease;
}

#contact-form textarea{
  min-height:140px;
  line-height:1.5;
  resize:vertical;
  max-height:40vh;
}

#contact-form input:focus,
#contact-form textarea:focus{
  border-color:rgba(143,27,18,0.55);
  box-shadow:
    0 0 0 4px rgba(143,27,18,0.12),
    0 1px 0 rgba(0,0,0,0.02) inset;
  background:#fff;
  transform:translateY(-1px);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder{
  color:rgba(0,0,0,0.50);
}

/* Validation */
#contact-form input:focus:invalid,
#contact-form textarea:focus:invalid{
  border-color:rgba(180, 40, 35, 0.75);
  box-shadow:0 0 0 4px rgba(180, 40, 35, 0.12);
}
#contact-form input:focus:valid,
#contact-form textarea:focus:valid{
  border-color:rgba(26, 140, 92, 0.65);
  box-shadow:0 0 0 4px rgba(26, 140, 92, 0.10);
}

#contact-form .form-button{
  margin-top:18px;
  width:100%;
  border:none;
  position:relative;
  overflow:hidden;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,0.10);
  background:linear-gradient(180deg, #9b2117 0%, #7f160f 100%);
  color:#fff;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
  box-shadow:
    0 14px 30px rgba(0,0,0,0.22),
    0 1px 0 rgba(255,255,255,0.22) inset;
  transition:transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}
#contact-form .form-button::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.00) 40%
  );
  pointer-events:none;
}
#contact-form .form-button::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:8px;
  height:1px;
  background:rgba(0,0,0,0.25);
  opacity:0.18;
  border-radius:999px;
  pointer-events:none;
}
#contact-form .form-button:hover{
  transform:translateY(-1px);
  filter:brightness(0.98);
}

.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  html,body{
    scroll-behavior:auto;
    overflow-anchor:none;
  }
}

/* Hover feedback only when hover is real */
@media (hover:hover){
  .nav-menu li a:hover{
    background:rgba(17,24,39,0.045);
    color:rgba(17,24,39,0.98);
  }

  .nav-menu li a[aria-current="page"]:hover{
    background:rgba(17,24,39,0.045);
    color:rgba(17,24,39,0.98);
  }

  #contact-form input:hover,
  #contact-form textarea:hover{
    border-color:rgba(0,0,0,0.18);
  }
}

/* -----------------------------
   Breakpoints (min-width only)
------------------------------ */
@media (min-width: 361px){
  #kfp-text-inner-contact{ padding:14px 22px; }

  .banner-photo::before{
    background:linear-gradient(
      90deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.58) 45%,
      rgba(0,0,0,.34) 78%,
      rgba(0,0,0,.18) 100%
    );
  }
}

@media (min-width: 360px) and (max-width: 474.98px){
  .tabs-row a{
    max-width:clamp(300px, 92vw, 380px);
  }
  .tab{ padding:0 10px 10px; }

  .tabs-row .inner-tab-1,
  .tabs-row .inner-tab-2,
  .tabs-row .inner-tab-3{
    padding:22px 12px 20px;
    gap:16px;
  }

  .yellow-circle-icon,
  .red-circle-icon,
  .blue-circle-icon{
    width:clamp(92px, 24vw, 104px);
    height:clamp(92px, 24vw, 104px);
    margin-top:12px;
  }

  .tab-title{
    font-size:1.05rem;
    line-height:1.15;
  }

  .tabs-row .tile-sub{
    max-width:34ch;
    font-size:0.92rem;
    line-height:1.35;
  }

  .tile-text-wrapper{ gap:8px; }
}

@media (min-width: 401px){
  :root{
    --header-h: 86px;
    --pad: clamp(16px, 2vw, 28px);
  }
}

@media (min-width: 451px){
  :root{
    --wrap: min(var(--max), calc(100% - (var(--pad) * 2)));
    --inset: calc((100% - var(--wrap)) / 2);
  }
}

@media (min-width: 475px){
  .nav-toggle{
    border-radius:10px;
    background:rgba(0,0,0,0.04);
    justify-content:center;
    margin-right:8px;
    translate:0 -0.35em;
  }

  .kfp-text-inner{
    padding-bottom:clamp(35px, 5.5vh, 50px);
  }

  .tabs-row{
    flex-direction:row;
    gap:2%;
    justify-content:start;
    margin:0 auto;
    padding:0;
    overflow:visible;
    transform:translateY(-25px);
  }

  .tabs-row a{ overflow:hidden; }

  .tab-title{
    font-size:1rem;
    opacity:0.85;
    letter-spacing:0.1px;
  }

  .tabs-row .tile-sub{
    padding-top:4px;
    font-size:0.86rem;
    line-height:1.35;
    max-width:28ch;
    margin-inline:auto;
  }

  .inner-tab-1,
  .inner-tab-2,
  .inner-tab-3{
    padding-left:12px;
    padding-right:12px;
  }
}

@media (min-width: 580px){
  .footer-brand{ padding-right:clamp(20px, 3vw, 36px); }
}

@media (min-width: 600px){
  .tabs-row{ padding:0 calc(var(--inset) + 10px); }
}

@media (min-width: 640px){
  #Services .services-lead{ display:block; }
  #Services .svc-teaser{ display:block; }

  #Services{
    --svc-rail: 22px;
    --svc-spine: 2px;
    --svc-gap: 20px;
  }

  section#Services{
    padding-top: calc(var(--header-h, 86px) + 30px);
  }

  #Services .section-title{ margin-bottom:18px; }

  section#Services .content-body{
    width:min(860px, calc(100% - 120px));
    margin-inline:auto;
  }

  .page-head-wrap{
    width:calc(92% - 35px);
    margin:0 auto;
  }

  #Services .content-body h3{
    font-size:clamp(1.15rem, 1.4vw, 1.35rem);
    font-weight:600;
    letter-spacing:0.2px;
    margin:0;
  }

  #Services .content-body{
    width:min(90%, 980px);
    margin-left:auto;
    margin-right:auto;
  }

  #Services .services-lead{
    font-size: clamp(0.98rem, 0.35vw + 0.92rem, 1.08rem);
    line-height: 1.8;
    color: rgba(0,0,0,0.84);
    margin:0 auto;
    padding-bottom:5px;
  }
    
  #Services .accordion{
    max-width:980px;
    margin:18px auto 0;
    position:relative;
    padding-left:18px;
  }

  #Services .accordion-item{
    border:0;
    border-radius:0;
    box-shadow:none;
    position:relative;
    margin-top:16px;
    background:transparent;
  }
  #Services .accordion-item:first-child{
    padding-top:0;
    margin-top:0;
  }

  #Services .accordion-item::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:1px;
    background:linear-gradient(
      90deg,
      rgba(17,24,39,0.08),
      rgba(17,24,39,0.16),
      rgba(17,24,39,0.08)
    );
    transform:translateY(-0.5px);
  }
  #Services .accordion-item:first-child::before{ display:none; }

  #Services .accordion-content h4 + p{
    margin-top:6px;
  }

  #Services .accordion-content p + h4{
    margin-top:26px;
  }

  #Services .accordion-button{
    padding:12px 0 8px;
    width:100%;
    border:0;
    background:transparent;
    text-transform:none;
    letter-spacing:0.01em;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:12px;
    font-size:1.10rem;
    font-weight:650;
    line-height:1.25;
    position:relative;
    border-radius:12px;
  }

  #Services .accordion-icon{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    color:rgba(17,24,39,0.55);
    opacity:1;
    font-size:0;
    position:relative;
  }
  #Services .accordion-icon::before{
    content:"";
    width:10px;
    height:10px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    transition:transform 180ms ease, color 180ms ease;
  }
  #Services .accordion-icon.open-icon::before{
    transform:rotate(-180deg);
    color:rgba(153,22,7,0.75);
  }

  #Services .svc-list li{ padding-left:12px; }
  #Services .svc-list li::before{
    width:3px;
    height:3px;
    top:0.62em;
    background:rgba(17,24,39,0.38);
  }

  #Services .svc-lead-tab{
    display:block;
    margin:0 0 2px;
    max-width:74ch;
    font-size:0.97rem;
    line-height:1.6;
    color:rgba(0,0,0,0.68);
    width:90%;
  }

  #Services .accordion-panel.is-open > .accordion-content{
    padding: 15px 0 38px 15px;
    max-width:78ch;
    position:relative;
  }

  #Services .accordion-panel{ overflow:visible; }

  #Services .accordion-panel.is-open{
    margin-top:8px;
    position:relative;
    overflow:visible;
  }

  #Services .accordion-item:focus-within{
    border:0;
    box-shadow:none;
  }

  #Services .accordion-content .svc-note{
    border:0;
    padding-top:14px;
    border-top:1px solid rgba(17,24,39,0.08);
  }

  #Services .accordion-button:focus{ outline:none; }
}

@media (min-width: 800px){
  .tab-title{
    font-size:1rem;
    line-height:1.2;
    min-height:1.2em;
  }
}

@media (min-width: 846px){
  .kfp-text-inner{
    padding-top:clamp(25px, 4vh, 35px);
    padding-bottom:clamp(40px, 7.5vh, 55px);
  }
}

@media (min-width: 850px){
  .mobile-nav,
  .hamburger{ display:none; }

  header .container{
    align-items:center;
    gap:24px;
  }

  .lg-nav-menu{
    display:flex;
    align-items:center;
    margin-left:auto;
    width:auto;
    align-self:end;
  }
  .lg-nav-menu nav{ width:100%; }
  .lg-nav-menu ul{
    display:flex;
    justify-content:flex-end;
    gap:12px;
  }
  .lg-nav-menu li{ display:flex; }

  .lg-nav-menu a{
    padding:10px 14px 14px;
    border-radius:999px;
    text-decoration:none;
    color:rgba(17,24,39,0.90);
    font-size:1.05rem;
    letter-spacing:0.09em;
    font-weight:600;
    text-transform:uppercase;
    white-space:nowrap;
    position:relative;
    transition:
      background-color 160ms ease,
      color 160ms ease,
      transform 160ms ease;
  }

  .lg-nav-menu a.is-active,
  .lg-nav-menu a[aria-current="page"]{
    color:rgba(17,24,39,0.98);
  }

  .lg-nav-menu a.is-active::after,
  .lg-nav-menu a[aria-current="page"]::after{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    bottom:6px;
    height:2px;
    border-radius:999px;
    background:var(--red);
  }

  .lg-nav-menu a:focus-visible{
    outline:2px solid rgba(153,22,7,0.32);
    outline-offset:3px;
  }

  .tabs-row{
    width:100%;
    justify-content:center;
  }
  .tabs-row .inner-tab-1,
  .tabs-row .inner-tab-2,
  .tabs-row .inner-tab-3{
    gap:15px;
  }

  .accordion{
    max-width:900px;
    margin-inline:auto;
  }
}

@media (min-width: 850px) and (hover:hover){
  .lg-nav-menu a:hover{
    background:rgba(17,24,39,0.055);
    color:rgba(17,24,39,0.98);
  }

  .lg-nav-menu a.is-active:hover,
  .lg-nav-menu a[aria-current="page"]:hover{
    background:rgba(17,24,39,0.04);
  }
}

@media (min-width: 860px){
  .footer-top{
    display:grid;
    grid-template-columns:
      minmax(340px, 1.6fr)
      minmax(120px, 0.75fr)
      minmax(120px, 0.75fr)
      minmax(140px, 0.70fr);
    column-gap:28px;
    row-gap:26px;
    padding:42px 0 32px;
    align-items:start;
  }
  .footer-lg-sections{ display:contents; }
  .footer-brand{ padding-right:24px; }
}

@media (min-width: 945px){
  .lg-nav-menu{ margin-right:0; }
  .lg-nav-menu ul{ justify-content:center; }
  .lg-nav-menu li{ padding:0 5px; }
}

@media (min-width: 981px){
  .kfp-text-inner h1{
    font-size:clamp(34px, 3vw, 52px);
  }
}

@media (min-width: 920px){
  .svc-mobile{ display:none; }
  .svc-desktop{ display:block; }

  section#Services{ background:#fbfbfc; }
  #Services .accordion-item::before{ display:none; }
  #Services .accordion-item{ margin-top:0; }
  #Services .accordion-icon{ display:none; }


  #Services .accordion-panel.is-open > .accordion-content{ padding-left:0; }

  #Services .container{
    width:min(1020px, calc(100% - 140px));
    margin-inline:auto;
    display:grid;
    grid-template-columns:260px minmax(0, 1fr);
    grid-template-areas:
      "nav head"
      "nav body";
    grid-template-rows:auto 1fr;
    column-gap:clamp(28px, 3vw, 68px);
    row-gap:0;
    align-items:start;
    text-align:left;
    padding-bottom:10px;
  }

  #Services .page-head-wrap{
    grid-area:head;
    width:100%;
    padding-top:0;
    padding-bottom:6px;
  }

  #Services .section-title{
    text-align:left;
    width:100%;
    margin: 0 auto 24px;
    letter-spacing:-0.01em;
    font-weight:800;
    margin-top: 10px;
    max-width: 26ch;
    margin-left: 0;
  }

  #Services .services-lead{
    display:none;
    margin-bottom:25px;
    max-width:100%;
  }

  #Services .svc-nav{
    grid-area:nav;
    position:sticky;
    top:calc(var(--header-h, 86px) + 12px);
    align-self:start;
    padding-top:18px;
    padding-right:26px;
    text-align:left;
  }

  #Services .svc-nav-inner{
    position:relative;
    padding-right:18px;
  }

  #Services .svc-nav-inner::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    width:1px;
    background:rgba(17,24,39,0.08);
    pointer-events:none;
  }

  #Services .svc-nav-title{
    display:block;
    margin:0 0 10px;
    font-size:0.72rem;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:rgba(17,24,39,0.55);
  }

  #Services .svc-nav-list{
    list-style:none;
    margin:0;
    padding:0;
  }

  #Services .svc-nav-link{
    display:block;
    padding:9px 12px;
    border-radius:10px;
    line-height:1.35;
    text-decoration:none;
    color:rgba(17,24,39,0.66);
    transition:background 160ms ease, color 160ms ease;
  }

  #Services .svc-nav-link.is-active{
    color:rgba(17,24,39,0.92);
    position:relative;
  }

  #Services .svc-nav-link.is-active::before{
    content:"";
    position:absolute;
    left:4px;
    top:9px;
    bottom:9px;
    width:2px;
    border-radius:2px;
    background:rgba(153,22,7,0.55);
  }

  section#Services .content-body{
    grid-area:body;
    width:100%;
    margin:0;
    text-align:left;
    padding-top:0;
  }

  #Services .accordion{
    max-width:72ch;
    margin-top:0;
    padding-left:0;
  }

  /* Overview section hierarchy */
  #Services .content-body h3{
    font-size:clamp(1.9rem, 2.2vw, 2.35rem);
    line-height:1.12;
    letter-spacing:-0.02em;
    font-weight:750;
    margin: 0;
    max-width:20ch;
  }

  #Services .content-body h4{
    font-size:1.05rem;
    line-height:1.25;
    letter-spacing:-0.01em;
    font-weight:700;
    color:rgba(17,24,39,0.96);
    margin:0 0 10px;
  }

  #Services .content-body > p:first-of-type{
    margin:0 0 34px;
    max-width:42ch;
  }

  #Services .content-body h3 + p{
    margin: 0 0 15px;
  }

  #Services .content-body h3 + p + h4{
    margin:0 0 14px;
    font-size:1.02rem;
    font-weight:700;
    color:rgba(17,24,39,0.72);
  }

  #Services .content-body .svc-list{
    margin:0 0 28px;
  }

  #Services .content-body .svc-list li{
    margin-bottom:10px;
    line-height:1.5;
  }

  #Services .content-body .svc-list li:last-child{
    margin-bottom:0;
  }

  #Services .svc-note,
  #Services .content-body .svc-list + p{
    margin-top:30px;
  }

  /* Accordion section hierarchy */
  #Services .accordion-button{
    padding:10px 0 6px;
    font-size:clamp(1.7rem, 1.75vw, 2.05rem);
    line-height:1.14;
    font-weight:750;
    letter-spacing:-0.02em;
    color:rgba(17,24,39,0.96);
  }

  #Services .button-left{
    max-width:22ch;
  }

  #Services .svc-lead-tab,
  #Services .accordion-content .svc-lead-mobile{
    margin:0 0 26px;
    max-width:43ch;
    font-size:1.06rem;
    line-height:1.65;
    color:rgba(17,24,39,0.80);
    font-weight:400;
  }

  #Services .accordion-content h4{
    margin:0 0 10px;
    font-size:1.14rem;
    line-height:1.25;
    font-weight:700;
    letter-spacing:-0.01em;
    color:rgba(17,24,39,0.88);
  }

  #Services .accordion-content p + h4,
  #Services .accordion-content ul + h4{
    margin-top:30px;
  }

  #Services .accordion-content h4 + p{
    margin-top:0;
    padding-top:0;
    font-size:1rem;
    line-height:1.65;
    color:rgba(17,24,39,0.82);
  }

  #Services .accordion-content .svc-list{
    margin:0 0 18px;
  }

  #Services .accordion-content .svc-list li{
    margin-bottom:8px;
    line-height:1.55;
    color:rgba(17,24,39,0.80);
  }

  #Services .accordion-content .svc-list li:last-child{
    margin-bottom:0;
  }

  #Services .accordion-content .svc-note,
  #Services .accordion-content .svc-list + p{
    margin-top:26px;
  }
}

@media (min-width: 920px) and (hover:hover){
  #Services .svc-nav-link:hover{
    background:rgba(17,24,39,0.035);
    color:rgba(17,24,39,0.84);
  }
}

@media (max-width: 919.98px){
  #Services .svc-nav{ display:none; }
}

@media (max-width: 560px){
  #Services .accordion{
    width:calc(100% + 10px);
    margin-left:-5px;
    margin-right:-5px;
  }

  .footer-mobile-sections details{
    border-top:1px solid rgba(255,255,255,0.08);
    padding:12px 0;
  }
  .footer-mobile-sections details:last-child{
    border-bottom:1px solid rgba(255,255,255,0.08);
  }

  .footer-mobile-sections summary{
    list-style:none;
    cursor:pointer;
    font-size:0.78rem;
    font-weight:700;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.55);
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .footer-mobile-sections summary::-webkit-details-marker{ display:none; }

  .footer-mobile-sections summary::after{
    content:"+";
    color:rgba(255,255,255,0.45);
    font-size:1rem;
    line-height:1;
  }
  .footer-mobile-sections details[open] summary::after{ content:"–"; }

  .footer-mobile-sections details ul{
    margin:10px 0 0;
    padding:0;
  }
}

@media (max-width: 639px){
  #Services .accordion-item:has(.accordion-button:focus-visible){
    border-color:rgba(153,22,7,0.22);
    box-shadow:
      0 10px 26px rgba(17,24,39,0.06),
      0 0 0 3px rgba(153,22,7,0.16);
  }
  #Services .accordion-item:has(.accordion-panel.is-open){
    border-color:rgba(153,22,7,0.22);
    box-shadow:0 6px 18px rgba(17,24,39,0.06);
  }
}

@media (min-width: 1040px){
  .tabs-row a{ margin:0; }

  .meta-break{
    display:block;
    flex:0 0 100%;
    height:0;
  }

  .site-footer .footer-top{
    column-gap:42px;
    grid-template-columns:
      minmax(340px, 1.6fr)
      minmax(170px, 0.85fr)
      minmax(170px, 0.85fr)
      minmax(160px, 0.75fr);
  }

  .site-footer .footer-brand{
    padding-right:clamp(20px, 3vw, 36px);
  }

  .site-footer .footer-inner{ padding:0 34px; }
}

@media (min-width: 1100px){
  #Services ul.svc-list{
    column-gap:34px;
    row-gap:10px;
    margin:10px 0 22px;
  }
  #Services .svc-list li{ padding-left:16px; }
}

@media (min-width: 1200px){
  .container{
    width:min(var(--max), calc(100% - (var(--pad) * 2)));
  }

  #Services .container{
    width:min(1020px, calc(100% - 140px));
    grid-template-columns:290px minmax(0, 1fr);
    --svc-colgap: clamp(44px, 4vw, 55px);
  }

  #Services .accordion{ max-width:80ch; }
}

@media (min-width: 415px) and (max-width: 560px){
  .meta-break{
    display:block;
    flex:0 0 100%;
    height:0;
  }
}

@media (min-width: 340px){
  .footer-contact-link{
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}

@media (min-width: 561px){
  .footer-lg-sections{ display:contents; }
  .footer-mobile-sections{ display:none; }
}

@media (min-width: 561px) and (max-width: 859px){
  .footer-top{
    display:grid;
    grid-template-areas:
      "brand brand brand"
      "nav coverage creds";
    grid-template-columns:repeat(3, minmax(0, 180px));
    justify-content:center;
    column-gap:28px;
    row-gap:28px;
    padding:30px 0 22px;
    align-items:start;
  }

  .footer-brand{
    grid-area:brand;
    padding-right:0;
    grid-column:1 / -1;
  }

  .footer-nav{ grid-area:nav; }
  .footer-coverage{ grid-area:coverage; }
  .footer-cred-col{ grid-area:creds; }

  .footer-vertical-links{
    gap:10px;
    font-size:0.93rem;
  }
}

@media (hover: hover) and (pointer: fine){
  .kfp-text-inner{
    padding-bottom:clamp(40px, 7.5vh, 65px);
  }
}