/* Funk Information Technologies — brand tokens (matches support.funkinfotech.com) */
:root {
  --funk-blue: #052a44;
  --funk-lt-blue: #4f7fa2;
  --funk-md-blue: #3173a2;
  --funk-orange: #b5532f;
  --funk-yellow: #b5922f;
  --funk-red: #6a1e01;
  --funk-green: #014928;
  --funk-md-green: #2ba46d;
  --funk-lt-green: #4ba47c;

  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f2338;
  --text-muted: #4a5b6b;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 8px 24px -12px rgba(5, 42, 68, 0.18);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; color: var(--funk-blue); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 16px; color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--funk-md-blue);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--funk-md-green); color: #fff; }
.btn-primary:hover { background: var(--funk-green); box-shadow: 0 10px 24px -10px rgba(43, 164, 109, 0.6); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--funk-blue); color: var(--funk-blue); }
.btn-outline-dark:hover { background: var(--funk-blue); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.98);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 44px; width: 40px; flex: none; }
.brand-name { font-weight: 800; color: var(--funk-blue); font-size: 1.05rem; line-height: 1.2; }
.brand-name span { display: block; font-weight: 500; font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.94rem; }
.main-nav a:hover { color: var(--funk-md-blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: none; font-weight: 700; color: var(--funk-blue); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--funk-blue); margin: 5px 0; border-radius: 2px; }

@media (min-width: 900px) { .header-phone { display: inline-block; } }
@media (max-width: 899px) {
  .main-nav { position: fixed; inset: 76px 0 0 0; background: var(--surface); flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 24px; transform: translateX(100%); transition: transform 0.25s ease; z-index: 40; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
}
@media (max-width: 480px) {
  .brand-name span { display: none; }
  .header-cta .btn { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--funk-blue) 0%, #0a3a5c 55%, var(--funk-md-blue) 100%);
  color: #fff;
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 220px; margin: 0 auto; } }

.hero .eyebrow { color: var(--funk-lt-green); }
.hero h1 { color: #fff; }
.hero-lead { color: rgba(255,255,255,0.82); font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79, 127, 162, 0.45) 0%, rgba(79, 127, 162, 0) 70%);
  filter: blur(4px);
  z-index: 0;
}
.hero-art svg { position: relative; z-index: 1; width: 100%; max-width: 300px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45)); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-badges div { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero-badges svg { flex: none; width: 18px; height: 18px; color: var(--funk-lt-green); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(49, 115, 162, 0.12);
  color: var(--funk-md-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card p { margin: 0; font-size: 0.94rem; }

/* Why us */
.why-section { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--text); }
.why-list svg { flex: none; width: 22px; height: 22px; color: var(--funk-md-green); margin-top: 2px; }
.stat-card {
  background: var(--funk-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-card div strong { display: block; font-size: 2rem; font-weight: 800; color: var(--funk-lt-green); }
.stat-card div span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* Pricing */
.pricing-section { background: linear-gradient(180deg, #f1f6f9 0%, var(--bg) 100%); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--funk-blue);
  color: #fff;
  border-color: var(--funk-blue);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.price-card.featured h3, .price-card.featured .price-amount { color: #fff; }
.price-card.featured p, .price-card.featured .price-features li { color: rgba(255,255,255,0.82); }
.price-card.featured .price-features svg { color: var(--funk-lt-green); }

.price-tag { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--funk-orange); }
.price-card.featured .price-tag { color: var(--funk-lt-green); }
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--funk-blue); margin: 8px 0 4px; }
.price-amount small { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.price-card.featured .price-amount small { color: rgba(255,255,255,0.7); }

.price-features { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); }
.price-features svg { flex: none; width: 18px; height: 18px; color: var(--funk-md-green); margin-top: 2px; }

.pricing-note { text-align: center; max-width: 640px; margin: 40px auto 0; font-size: 0.9rem; }

/* Service area */
.area-section { background: var(--surface); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; margin: 20px 0 0; padding: 0; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--funk-blue); }
.area-list svg { width: 18px; height: 18px; color: var(--funk-orange); flex: none; }
.area-card {
  background: var(--funk-blue);
  border-radius: var(--radius);
  padding: 36px;
  color: #fff;
}
.area-card h3 { color: #fff; }
.area-card p { color: rgba(255,255,255,0.8); }

/* Contact */
.contact-section { background: linear-gradient(160deg, var(--funk-blue) 0%, #0a3a5c 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-section .eyebrow { color: var(--funk-lt-green); }
.contact-section h2 { color: #fff; }
.contact-section > .container > p,
.contact-info p { color: rgba(255,255,255,0.8); }

.contact-info a.contact-line {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-info a.contact-line svg { width: 20px; height: 20px; color: var(--funk-lt-green); flex: none; }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.85); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--funk-lt-green); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 110px; }

.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 20px; }
.form-status.success { color: var(--funk-lt-green); }
.form-status.error { color: #ff9d8a; }

/* Footer */
.site-footer { background: #051d30; color: rgba(255,255,255,0.72); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { height: 30px; width: 28px; flex: none; }
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-links a:hover { color: #fff; }
.footer-fine { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
