/* VAKABAH 71Tech LLC — shared styles */
:root {
  --ink: #10151c;
  --body: #33404f;
  --muted: #5c6b7d;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --brand: #0b5fff;
  --brand-dark: #0847bf;
  --ok: #0a7d3b;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: 2.4rem; letter-spacing: -0.02em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800; font-size: 1.25rem; color: var(--ink);
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo .num { color: var(--brand); }
nav.main a {
  color: var(--body); margin-left: 26px; font-size: 0.98rem;
}
nav.main a:hover { color: var(--brand); text-decoration: none; }
nav.main a.cta {
  background: var(--brand); color: #fff; padding: 8px 16px;
  border-radius: 6px; font-weight: 600;
}
nav.main a.cta:hover { background: var(--brand-dark); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  padding: 88px 0 72px;
}
.hero .kicker {
  color: var(--brand); font-weight: 700; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 14px;
}
.hero p.lead {
  font-size: 1.22rem; color: var(--muted); max-width: 640px; margin-bottom: 30px;
}
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 13px 26px; border-radius: 7px; font-weight: 650; font-size: 1rem;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand); margin-left: 12px;
}
.btn.ghost:hover { background: rgba(11,95,255,0.06); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .sub { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; }
.card .ico {
  font-size: 1.5rem; margin-bottom: 14px; display: inline-block;
}

/* About */
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.facts { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.facts dt { font-weight: 700; color: var(--ink); margin-top: 12px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; color: var(--body); }

/* Contact form */
form.contact {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  max-width: 640px;
}
.field { margin-bottom: 18px; }
label.lbl { display: block; font-weight: 650; color: var(--ink); margin-bottom: 6px; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 11px 13px; border: 1px solid #c9d2dc;
  border-radius: 7px; font: inherit; color: var(--ink); background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(11,95,255,0.35); border-color: var(--brand);
}
textarea { min-height: 130px; resize: vertical; }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px; margin-bottom: 18px;
}
.consent input { margin-top: 4px; flex: none; }
.consent span { font-size: 0.88rem; color: var(--body); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: var(--ok); }

/* Footer */
footer.site {
  border-top: 1px solid var(--line); background: var(--bg-alt);
  padding: 44px 0; margin-top: 40px;
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: var(--ink); font-size: 0.95rem; margin: 0 0 10px; }
footer.site p, footer.site li { font-size: 0.9rem; color: var(--muted); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 6px; }
footer .legal-name { font-weight: 700; color: var(--ink); }
footer .fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* Legal pages */
article.legal { max-width: 760px; }
article.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
article.legal li { margin-bottom: 6px; }

@media (max-width: 840px) {
  .grid.three { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  nav.main a { margin-left: 14px; font-size: 0.9rem; }
  nav.main a.hide-m { display: none; }
  h1 { font-size: 1.9rem; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
}
