@charset "UTF-8";

/* =========================================================
   Kumo Foundation — Production Design System CSS
   Version: 1.2 (All Fixes Applied)
   ========================================================= */

/* 1) DESIGN TOKENS */
:root {
  --brand-primary: #143B58;
  --brand-accent: #338ED1;
  --brand-hover: #267ab9;
  --brand-light: #F3F8FC;
  --header-bg: var(--brand-primary);
  --footer-bg: var(--brand-primary);
  --white: #ffffff;
  --black: #0D0D0D;
  --text-primary: #0F1F33;
  --text-secondary: #4A5D73;
  --text-muted: #6B7280;
  --text-inverse: rgba(255, 255, 255, .92);
  --bg-page: #F8F9FC;
  --bg-surface: #ffffff;
  --border-subtle: rgba(15, 31, 51, .10);
  --border-strong: rgba(15, 31, 51, .18);
  --gradient-dark: linear-gradient(180deg, #143b58 0%, #2b7fbe 125%);
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .08);
  --shadow-md: 0 10px 24px -8px rgba(36, 42, 66, .12);
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --transition-fast: 150ms var(--ease-standard);
  --transition: 300ms var(--ease-standard);
  --focus-ring: 0 0 0 3px rgba(51, 142, 209, .35);
}

/* 2) BASE RESET */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 80px; /* FIX: Header spacing */
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (max-width: 991px) {
  body {
    padding-top: 68px;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--brand-hover);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-primary);
  margin: 0 0 1.2rem 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 5.6rem;
  line-height: 1.12;
}

h2, .h2 {
  font-size: 4.0rem;
  line-height: 1.16;
}

h3, .h3 {
  font-size: 2.8rem;
  line-height: 1.25;
}

h4, .h4 {
  font-size: 2.0rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.4rem 0;
  color: var(--text-secondary);
}

.lead-text {
  font-size: 2.0rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 2.4rem;
}

.subhead {
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.fine-print {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  h1, .h1 {
    font-size: 3.4rem;
  }
  h2, .h2 {
    font-size: 2.9rem;
  }
  h3, .h3 {
    font-size: 2.4rem;
  }
  .lead-text {
    font-size: 1.8rem;
  }
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* 3) LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-wrap {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

@media (max-width: 768px) {
  .section-wrap {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
}

/* 4) HEADER */
.main-header {
  background-color: var(--header-bg) !important;
  color: var(--text-inverse);
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 68px;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.main-header a {
  color: rgba(255, 255, 255, .95);
}

.main-header a:hover {
  opacity: .9;
}

.kumo-header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand-logo img {
  height: auto;
  max-height: 48px;
}

/* FIX: Single CTA visibility */
@media (min-width: 992px) {
  .mob-cta {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .kumo-headerCta {
    display: none !important;
  }
  
  .mob-cta {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }
  
  .mob-cta .header-cta {
    width: 100%;
    justify-content: center;
  }
}

/* 5) NAVIGATION */
.main-header .navigation #primary-menu,
.main-header .navigation .menu {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-header .navigation #primary-menu li,
.main-header .navigation .menu li {
  margin: 0;
  padding: 0;
}

.main-header .navigation #primary-menu a,
.main-header .navigation .menu a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 1.5rem;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, .95);
  transition: var(--transition-fast);
  border-radius: 2px;
}

@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .main-header .navigation {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .main-header .navigation.active {
    max-height: 500px;
    overflow-y: auto;
  }
  
  .main-header .navigation #primary-menu,
  .main-header .navigation .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    width: 100%;
  }
  
  .main-header .navigation #primary-menu li,
  .main-header .navigation .menu li {
    width: 100%;
  }
  
  .main-header .navigation #primary-menu a,
  .main-header .navigation .menu a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
}

/* Phone number in header */
.mobile-phone-number a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.mobile-phone-number a:hover {
  opacity: .85;
}

.call-label {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .8;
}

.phonecall {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.5rem;
  font-weight: 700;
}

.phonecall i {
  font-size: 1.8rem;
}

/* 6) BUTTONS */
.btn,
.kumo-btn,
button:not(.hamburger),
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), 
              box-shadow var(--transition-fast), 
              background-color var(--transition-fast), 
              color var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  text-transform: none;
  text-decoration: none;
}

.btn-primary,
.kumo-btnAqua {
  background-color: var(--brand-accent);
  color: var(--white) !important;
  box-shadow: var(--shadow-xs);
}

.btn-primary:hover,
.kumo-btnAqua:hover {
  background-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-accent) !important;
  border-color: var(--brand-accent);
}

.btn-secondary:hover {
  background-color: var(--brand-light);
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

/* 7) CARDS */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--border-subtle);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-cta {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

/* 8) HERO + DARK */
.hero-sec {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--header-bg);
  color: var(--text-inverse);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-sec h1,
.hero-sec h2,
.hero-sec p {
  color: rgba(255, 255, 255, .95) !important;
}

.dark-bg {
  background: var(--gradient-dark) !important;
  color: var(--text-inverse);
}

.dark-bg h1, .dark-bg h2, .dark-bg h3, 
.dark-bg p, .dark-bg .h1, .dark-bg .h2, .dark-bg .h3 {
  color: rgba(255, 255, 255, .95) !important;
}

/* 9) UTILITIES */
.eyebrow-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  margin: 0 0 12px 0;
  color: var(--brand-accent);
}

.eyebrow-text::after {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--brand-accent);
  margin-left: 12px;
  border-radius: 999px;
}

.proof-chips {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-chips li {
  background: rgba(51, 142, 209, .1);
  border: 1px solid rgba(51, 142, 209, .2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--text-primary);
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.mini-list li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.mini-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-weight: 700;
}

/* FIX: Step numbers */
.step-number {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--brand-accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.step-badge {
  display: inline-block;
  background: var(--brand-accent);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* 10) GRIDS */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 36px 0;
}

.kumo-grid {
  display: grid;
  gap: 28px;
}

.kumo-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.kumo-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.kumo-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .kumo-grid-2,
  .kumo-grid-3,
  .kumo-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* 11) FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-top: 16px;
}

/* 12) POLISH */
:target {
  scroll-margin-top: 110px;
}

::selection {
  background: rgba(51, 142, 209, .22);
}

hr {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
  margin: 24px 0;
}

/* 13) SPACING UTILITIES */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mt-5 { margin-top: 48px !important; }

/* 14) FOOTER FIXES */
.kf-footer {
  padding: 56px 0 28px;
  background: var(--footer-bg) !important;
  color: rgba(255, 255, 255, .9);
}

.kf-footer a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
}

.kf-footer a:hover {
  text-decoration: underline;
}

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

.kf-footer-title {
  font-size: 16px;
  letter-spacing: .02em;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .95);
  font-weight: 700;
}

/* FIX: Footer text visibility */
.kf-footer-blurb p {
  color: rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
  line-height: 1.6;
  margin: 12px 0 0;
}

.kf-footer p,
.kf-footer li,
.kf-footer span {
  color: rgba(255, 255, 255, 0.85) !important;
}

.kf-footer-site-name {
  font-size: 18px;
  font-weight: 700;
}

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

.kf-footer-menu li {
  margin: 10px 0;
}

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

.kf-footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
}

.kf-footer-address span {
  line-height: 1.45;
}

/* FIX: Social media icons */
.kf-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.kf-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.kf-footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

.kf-footer-social svg {
  width: 20px;
  height: 20px;
}

.kf-footer-primary-location {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.kf-footer-subtitle {
  font-weight: 700;
  margin-bottom: 8px;
}

.kf-footer-mini {
  font-size: 14px;
  opacity: .9;
  line-height: 1.45;
}

.kf-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: .9;
}

.kf-footer-disclaimer {
  max-width: 760px;
  line-height: 1.45;
}

@media (max-width: 992px) {
  .kf-footer-grid {
    grid-template-columns: 1fr;
  }
  .kf-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}