/* ============================================
   K&K HR Consulting — Shared Styles
   ============================================ */

:root {
  --navy: #0D2C56;
  --navy-tint: #E4E9F2;
  --magenta: #CF31A2;
  --magenta-tint: #FBE4F3;
  --paper: #FAF9FB;
  --white: #FFFFFF;
  --ink-soft: #3B4A63;
  --border: #E4E4E8;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--magenta);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(207,49,162,0.30); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,251,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo img { height: 46px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--magenta); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Hero (diagonal split) ---------- */
.hero {
  display: flex;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.hero-left {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 5vw;
}
.hero-eyebrow {
  color: var(--magenta);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 22px 0;
  max-width: 620px;
}
.hero-headline .accent { color: var(--magenta); }
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 0 30px 0;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-right {
  flex: 1 1 44%;
  position: relative;
  background: var(--navy);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-right::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border: 3px solid var(--magenta);
  border-radius: 50%;
  opacity: 0.5;
  top: 12%;
  right: 8%;
}
.hero-right::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border: 3px solid var(--white);
  border-radius: 50%;
  opacity: 0.18;
  bottom: 6%;
  left: 12%;
}
.hero-mark {
  position: relative;
  z-index: 2;
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.hero-mark span { color: var(--magenta); }

@media (max-width: 760px) {
  .hero { flex-direction: column; }
  .hero-right { clip-path: none; min-height: 260px; }
}

/* ---------- Section basics ---------- */
section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-label {
  color: var(--magenta);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  margin: 0 0 18px 0;
}
.section-intro {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 50px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .ink-soft, .bg-navy .section-intro { color: #C9D2E0; }
.bg-tint { background: var(--navy-tint); }
.bg-pattern {
  background-image: url('../images/pattern-tile.png');
  background-size: 320px 320px;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13,44,86,0.10);
}
.service-card img { width: 74px; height: 74px; margin-bottom: 18px; }
.service-card h3 { font-size: 19px; margin: 0 0 10px 0; }
.service-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.service-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.service-tags span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--magenta); background: var(--magenta-tint);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Pillars (People / Process / Performance) ---------- */
.pillars {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  margin-top: 40px;
}
.pillar { text-align: center; max-width: 220px; }
.pillar-num {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--magenta);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px auto;
  font-weight: 700; color: var(--magenta);
}

/* ---------- About / people cards ---------- */
.people-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
@media (max-width: 760px) { .people-grid { grid-template-columns: 1fr; } }
.person-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 36px;
}
.person-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 26px;
  margin-bottom: 20px;
}
.person-card h3 { margin: 0 0 4px 0; font-size: 20px; }
.person-role { color: var(--magenta); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.person-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { margin: 0 0 8px 0; font-size: 28px; }
.cta-banner p { margin: 0; color: #C9D2E0; }
.cta-banner::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border: 3px solid var(--magenta);
  opacity: 0.35;
  border-radius: 50%;
  right: -60px; top: -80px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 26px;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--magenta); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.contact-info-item h4 { margin: 0 0 4px 0; font-size: 15px; }
.contact-info-item p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-tint);
}
.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #C9D2E0;
  padding: 56px 0 28px 0;
}
.footer-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img { height: 40px; margin-bottom: 14px; }
.footer-tagline { max-width: 280px; font-size: 14px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 {
  color: var(--white); font-size: 13px; letter-spacing: 1px;
  margin: 0 0 14px 0;
}
.footer-col a, .footer-col p {
  display: block; font-size: 14px; margin-bottom: 10px; color: #C9D2E0;
}
.footer-col a:hover { color: var(--magenta); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #90A0BC;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border: 3px solid var(--magenta);
  border-radius: 50%;
  opacity: 0.3;
  top: -120px; left: -80px;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px 0; }
.page-hero p { color: #C9D2E0; max-width: 560px; margin: 0 auto; font-size: 17px; }
