/* Mind Tech Consultancy LTD — static site styles
   Palette taken from the logo: orange mark, graphite wordmark. */

:root {
  --orange: #f0912f;
  --orange-dark: #d2761a;
  --ink: #2f3133;
  --ink-soft: #55595e;
  --line: #e4e6e9;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-dark: #24262a;
  --radius: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
a { color: var(--orange-dark); }
img { max-width: 100%; height: auto; }

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

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { display: block; height: 34px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: 12px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 84px; }
.hero h1 { max-width: 15ch; }
.hero p { max-width: 62ch; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stats div strong { display: block; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.hero-stats div span { font-size: .92rem; color: var(--ink-soft); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; height: 100%;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; margin-bottom: 16px;
  background: rgba(240, 145, 47, .12); color: var(--orange-dark);
  font-weight: 700; font-size: .95rem;
}

/* ---------- service blocks ---------- */
.service { padding: 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.service:first-of-type { border-top: 0; }
.service h3 { margin-top: 0; }
.service ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.service li { margin-bottom: 6px; }

/* ---------- tech list ---------- */
.tech-group { margin-bottom: 26px; }
.tech-group h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .87rem; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }

/* ---------- timeline ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 26px; margin-left: 6px; }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--orange); border: 3px solid #fff;
}
.timeline-item .years { font-size: .85rem; font-weight: 600; color: var(--orange-dark); letter-spacing: .04em; }
.timeline-item h3 { margin: 4px 0 6px; }
.timeline-item p { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff;
  max-width: 560px;
}
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row .label { min-width: 92px; font-size: .9rem; color: var(--ink-soft); }
.contact-row .value { font-weight: 600; }
/* e-mail is written backwards in the markup and flipped with CSS, so address
   harvesters that read the HTML source do not get a usable address. */
.mail-flip { unicode-bidi: bidi-override; direction: rtl; font-weight: 600; }

/* ---------- cta band ---------- */
.cta-band { background: var(--bg-dark); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7cad0; max-width: 60ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-inner a { color: var(--ink-soft); text-decoration: none; margin-left: 20px; }
.footer-inner a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .hero { padding: 64px 0 56px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0; }
  .nav { gap: 18px; }
  .hero-stats { gap: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner a { margin: 0 20px 0 0; }
}
