:root {
  --green: #059669;
  --green-dark: #047857;
  --teal: #0d9488;
  --dark: #020617;
  --slate: #475569;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

.kwmc-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.kwmc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.kwmc-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kwmc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.kwmc-logo {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.24);
}

.kwmc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.kwmc-brand-title {
  font-size: 13px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.kwmc-brand-subtitle {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.kwmc-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.kwmc-menu a {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  transition: color 0.2s ease;
}

.kwmc-menu a:hover {
  color: var(--green);
}

.kwmc-header-cta,
.kwmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.25s ease;
}

.kwmc-header-cta,
.kwmc-btn-primary {
  background: var(--green);
  color: white;
}

.kwmc-header-cta:hover,
.kwmc-btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.kwmc-btn-outline {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: white;
}

.kwmc-btn-light {
  background: white;
  color: var(--green-dark);
}

.kwmc-mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 30px;
  color: #0f172a;
}

.kwmc-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.kwmc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.kwmc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
.kwmc-hero {
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(16,185,129,0.25), transparent 30%),
    radial-gradient(circle at bottom left, rgba(14,165,233,0.18), transparent 28%),
    var(--dark);
}

.kwmc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 112px 0;
}

.kwmc-eyebrow {
  display: inline-flex;
  color: #6ee7b7;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kwmc-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  margin: 24px 0 0;
  letter-spacing: -0.055em;
}

.kwmc-hero p {
  max-width: 680px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
  margin: 28px 0 0;
}

.kwmc-hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
  max-width: 760px;
}

.kwmc-mini-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 18px;
}

.kwmc-mini-card strong {
  display: block;
  font-size: 14px;
}

.kwmc-mini-card span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.kwmc-video-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  padding: 12px;
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.kwmc-video-inner {
  min-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, transparent, rgba(2,6,23,0.92)),
    url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.kwmc-video-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.kwmc-video-caption strong {
  display: block;
  font-size: 28px;
  line-height: 1.16;
  margin-top: 12px;
}

.kwmc-video-caption p {
  font-size: 14px;
  line-height: 1.6;
}

/* SECTIONS */
.kwmc-section {
  padding: 92px 0;
}

.kwmc-light {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kwmc-dark {
  background: var(--dark);
  color: white;
}

.kwmc-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.kwmc-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kwmc-label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: 900;
}

.kwmc-dark .kwmc-label {
  color: #6ee7b7;
}

.kwmc-heading h2,
.kwmc-feature h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 16px 0 0;
}

.kwmc-heading p,
.kwmc-page-hero p {
  color: var(--slate);
  line-height: 1.75;
  font-size: 17px;
}

.kwmc-dark .kwmc-heading p {
  color: #cbd5e1;
}

.kwmc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.kwmc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.kwmc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(15,23,42,0.04);
  transition: 0.25s ease;
  height: 100%;
}

.kwmc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.1);
}

.kwmc-dark .kwmc-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: white;
}

.kwmc-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #ecfdf5;
  color: var(--green);
  font-size: 27px;
  margin-bottom: 20px;
}

.kwmc-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.kwmc-subtitle {
  margin-top: 9px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.kwmc-card p {
  margin: 16px 0 0;
  color: var(--slate);
  line-height: 1.72;
  font-size: 15px;
}

.kwmc-dark .kwmc-card p {
  color: #cbd5e1;
}

.kwmc-page-hero {
  background: var(--light);
  padding: 86px 0;
  border-bottom: 1px solid var(--border);
}

.kwmc-page-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  max-width: 900px;
  margin: 18px 0 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.kwmc-page-hero p {
  max-width: 790px;
}

.kwmc-feature {
  border-radius: 34px;
  padding: 48px;
  color: white;
  background: linear-gradient(135deg, #047857, #059669, #0d9488);
}

.kwmc-feature p {
  max-width: 760px;
  line-height: 1.75;
  color: #ecfdf5;
}

.kwmc-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.kwmc-kpi {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 22px;
}

.kwmc-kpi strong {
  font-size: 28px;
}

.kwmc-kpi span {
  display: block;
  margin-top: 8px;
  color: #d1fae5;
  font-size: 13px;
  line-height: 1.5;
}

/* CONTACT */
.kwmc-form input,
.kwmc-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
}

.kwmc-form input:focus,
.kwmc-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.kwmc-form textarea {
  min-height: 160px;
}

.kwmc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.span-2 {
  grid-column: span 2;
}

/* FOOTER */
.kwmc-footer {
  border-top: 1px solid var(--border);
  padding: 58px 0 22px;
  background: white;
}

.kwmc-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 40px;
}

.kwmc-footer h4 {
  margin: 0 0 16px;
}

.kwmc-footer .kwmc-menu {
  display: grid;
  gap: 10px;
}

.kwmc-footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 38px;
  padding-top: 22px;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .kwmc-menu,
  .kwmc-header-cta {
    display: none;
  }

  .kwmc-mobile-toggle {
    display: block;
  }

  .kwmc-menu.mobile-open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: grid;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.15);
  }

  .kwmc-hero-grid,
  .kwmc-grid-4,
  .kwmc-grid-3,
  .kwmc-grid-2,
  .kwmc-footer-grid,
  .kwmc-kpi-row {
    grid-template-columns: 1fr;
  }

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

  .kwmc-video-inner {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .kwmc-container {
    width: min(100% - 24px, 1180px);
  }

  .kwmc-brand {
    min-width: auto;
  }

  .kwmc-brand-subtitle {
    display: none;
  }

  .kwmc-hero-grid {
    padding: 74px 0;
  }

  .kwmc-section {
    padding: 64px 0;
  }

  .kwmc-hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .kwmc-form-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }
}


/* Updated KWMC Header Logo */
.kwmc-logo{
    width:78px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

.kwmc-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:0 !important;
}
