/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Color palette ---------- */
:root {
  --accent: #f5b800;           /* MKC yellow from logo */
  --accent-dark: #d49a00;
  --accent-light: #fcd34d;
  --slate: #0a0a0a;            /* near-black from logo */
  --slate-soft: #334155;
  --slate-muted: #64748b;
  --cream: #f8fafc;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { color: var(--slate-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-accent {
  background: var(--accent);
  color: var(--slate);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 184, 0, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 184, 0, 0.15);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-text strong {
  font-weight: 700;
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }
.nav a.btn { color: var(--slate); }
.nav a.btn:hover { color: var(--white); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--slate);
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,184,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-trust strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}
.hero-trust span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--slate); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 17px; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Recent Work ---------- */
.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.work-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.work-info {
  padding: 24px;
}
.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  background: rgba(245, 184, 0, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.work-info h3 { margin-bottom: 8px; font-size: 1.2rem; }
.work-info p { font-size: 14px; }

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 14px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.about-info h2 { margin-bottom: 16px; }
.about-info p { margin-bottom: 16px; }
.about-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cred-icon { width: 22px; height: 22px; flex-shrink: 0; }
.cred-item span { font-size: 14px; font-weight: 600; color: var(--slate); }

/* ---------- Why MKC ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item { text-align: center; }
.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.why-icon svg { width: 100%; height: 100%; }
.why-item h3 { margin-bottom: 12px; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.65); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-intro { margin-bottom: 32px; }
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon { width: 24px; height: 24px; flex-shrink: 0; }
.contact-method strong {
  display: block;
  font-size: 13px;
  color: var(--slate-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-method span {
  font-size: 16px;
  color: var(--slate);
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--slate);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo { height: 40px; width: auto; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}
.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-credit a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.footer-credit a:hover { opacity: 0.8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--slate);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-trust { gap: 24px; }
  .hero-trust strong { font-size: 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-credentials { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}