/* =========================================================
   DGTEK SOLUTIONS INC. — Clean Corporate Light Theme
   ========================================================= */

:root {
  /* Color system: primary brand + neutrals + 1 accent */
  --primary: #0b5ed7;          /* corporate blue */
  --primary-dark: #0a4bab;
  --accent: #18b08a;           /* trust/green accent */
  --bg: #ffffff;
  --bg-muted: #f5f7fa;
  --surface: #ffffff;
  --border: #e4e9f0;
  --text: #1a2433;
  --text-muted: #5b6b80;
  --shadow: 0 10px 30px rgba(16, 40, 80, 0.08);
  --radius: 14px;
  --max-width: 1140px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { line-height: 1.2; color: var(--text); font-weight: 700; }
.section { padding: 96px 0; }
.section-muted { background: var(--bg-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.section-head p { color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
}
.brand small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0; background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--text-muted); font-size: 1.15rem; margin: 22px 0 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; color: var(--primary); }
.hero-stats .stat span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: #eef4ff; color: var(--primary);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card ul { list-style: none; margin-top: 16px; }
.card li { font-size: 0.9rem; color: var(--text-muted); padding-left: 22px; position: relative; margin-bottom: 6px; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- About / Why ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 18px; }
.about-grid p { color: var(--text-muted); margin-bottom: 16px; }
.why-list { display: grid; gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .why-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: #e9f8f2; color: var(--accent); display: grid; place-items: center;
}
.why-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.why-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail .ci {
  width: 42px; height: 42px; border-radius: 10px; background: #eef4ff; color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-detail span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; }
.contact-detail strong { font-size: 0.98rem; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 0.92rem; font-weight: 500; }
.alert-success { background: #e7f8f1; color: #0a7a5a; border: 1px solid #b8ebd9; }
.alert-error { background: #fdecec; color: #b42318; border: 1px solid #f5c6c2; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1c30; color: #cdd6e3; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8fa1bb; }
.site-footer p { color: #8fa1bb; font-size: 0.92rem; margin-top: 14px; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #8fa1bb; font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e2f48; padding-top: 22px; text-align: center; font-size: 0.85rem; color: #6f819c; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-img-wrap { order: -1; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px; }
}
