/* ===================================================================
   DataTech IT Solutions - modern brand site
   Brand: vibrant red-orange logomark + charcoal wordmark.
   =================================================================== */

:root {
  --orange: #F8462A;
  --orange-2: #FF6B4A;
  --orange-deep: #D8341B;

  --charcoal: #2E2E2E;
  --ink: #14151A;
  --navy: #0B1426;
  --navy-2: #16243A;
  --navy-3: #1F3151;

  --bg: #FAFAFB;
  --surface: #FFFFFF;
  --line: #E6E8EE;
  --line-2: #EFF1F5;
  --mute: #6B7280;
  --mute-2: #9AA3AF;

  --ok: #2BD37B;

  --max: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,21,26,.04), 0 1px 3px rgba(20,21,26,.06);
  --shadow-md: 0 8px 24px rgba(20,21,26,.08), 0 2px 6px rgba(20,21,26,.05);
  --shadow-lg: 0 24px 60px rgba(20,21,26,.18);

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Sticky nav (72px) - keep anchors clear of it */
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(248,70,42,.28), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(248,70,42,.36), inset 0 -2px 0 rgba(0,0,0,.14);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }

/* Helpdesk teaser - the DataTechIT Hub isn't live yet; links to a
   launching-soon page instead. A small headset icon (not a status dot)
   reads more clearly as "this is the support channel" than a bare pill. */
.nav__menu a.nav__soon {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mute); font-weight: 500;
}
.icon-soon { color: var(--orange-2); flex: none; }

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo { height: 69px; width: auto; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
  color: var(--charcoal);
}
.nav__menu a:not(.btn) { position: relative; padding: 6px 0; }
.nav__menu a:not(.btn):hover { color: var(--orange); }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.nav__toggle span {
  width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== Hero ============== */
.hero {
  position: relative;
  background: radial-gradient(120% 80% at 80% 0%, #1B2E55 0%, var(--navy) 55%, #070D1A 100%);
  color: #EAEEF7;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 80%);
}
.hero__glow {
  position: absolute;
  width: 720px; height: 720px;
  right: -200px; top: -240px;
  background: radial-gradient(circle, rgba(248,70,42,.40) 0%, rgba(248,70,42,0) 65%);
  filter: blur(20px);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  padding: 88px 24px 110px;
  position: relative;
}
.hero__copy { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow--dark {
  color: var(--orange);
  background: rgba(248,70,42,.08);
  border-color: rgba(248,70,42,.18);
}
.eyebrow--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
  color: #fff;
  font-weight: 700;
}
.grad {
  background: linear-gradient(95deg, #FF8462 0%, var(--orange) 50%, #FFB39E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: 18px;
  color: rgba(234,238,247,.78);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
}
.hero__proof div { display: flex; flex-direction: column; gap: 2px; }
.hero__proof strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}
.hero__proof span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* ============== Trust strip ============== */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust__inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 22px 24px;
}
.trust__label {
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--mute); font-weight: 600;
}
.trust__list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.trust__list li {
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--charcoal);
  font-weight: 500;
}

/* ============== Sections ============== */
.section {
  padding: 96px 0;
  background: var(--bg);
}
.section--alt { background: #fff; }
.section--dark {
  background: linear-gradient(180deg, var(--navy) 0%, #060B17 100%);
  color: #EAEEF7;
}

.section__head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section__head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section__head--light h2,
.section__head--light p { color: #fff; }
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
  color: var(--ink);
  font-weight: 700;
}
.section__head p {
  font-size: 17px;
  color: var(--mute);
  margin: 0;
}

/* ============== Services ============== */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service:hover::before { transform: scaleY(1); }
.service__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(248,70,42,.10);
  color: var(--orange);
  margin-bottom: 14px;
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.service p {
  margin: 0;
  font-size: 14.5px;
  color: var(--mute);
  line-height: 1.55;
}

/* ============== Why us ============== */
.why {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.why__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
  color: var(--ink);
}
.lede { font-size: 17px; color: var(--mute); margin-bottom: 24px; }

.ticks { display: grid; gap: 14px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--charcoal);
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.ticks strong { color: var(--ink); }

.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat__label { color: var(--mute); font-size: 14px; line-height: 1.45; }
.stat--accent {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--orange) 0%, #FF7A55 100%);
  border-color: transparent;
  color: #fff;
}
.stat--accent .stat__num,
.stat--accent .stat__label { color: #fff; }
.stat--accent .stat__label { opacity: .92; }

/* ============== Regions ============== */
.regions {
  /* Flexbox, not grid: 11 towns don't divide evenly into 6 columns, and a
     grid leaves the short last row ragged (its last tile stops short of the
     right edge). flex-grow lets that row's tiles stretch to fill the full
     width instead, so the last tile always lines up with the row above. */
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.regions li {
  /* 6 per row, gap-aware basis (see .regions comment); flex-grow: 1 is what
     lets a short last row's tiles stretch to fill the full row width. */
  flex: 1 1 calc(16.666% - 10px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  color: var(--charcoal);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.regions li:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.regions__note {
  text-align: center;
  margin-top: 24px;
  color: var(--mute);
  font-size: 14.5px;
}

/* ============== CTA ============== */
.cta {
  background: var(--bg);
  padding: 96px 0 110px;
  border-top: 1px solid var(--line);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
  color: var(--ink);
}
.cta__copy p { color: var(--mute); font-size: 16px; max-width: 480px; }
.cta__bullets {
  margin-top: 18px;
  display: grid; gap: 10px;
}
.cta__bullets li {
  position: relative; padding-left: 24px; color: var(--charcoal); font-size: 15px;
}
.cta__bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; background: var(--orange); border-radius: 50%;
}

.cta__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: grid; gap: 14px;
}
.cta__form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cta__form label { display: grid; gap: 6px; }
.cta__form span {
  font-size: 13px; font-weight: 600; color: var(--charcoal);
}
.cta__form input,
.cta__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(248,70,42,.18);
}
.cta__finepri {
  text-align: center;
  font-size: 13px; color: var(--mute);
  margin: 4px 0 0;
}

/* ============== Footer ============== */
.footer {
  background: #060B17;
  color: rgba(234,238,247,.7);
  padding: 64px 0 56px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer__logo { height: 69px; width: auto; margin-bottom: 14px; }
.footer__brand p { max-width: 320px; font-size: 14.5px; line-height: 1.6; }
.footer__col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14.5px; }
.footer__col a:hover { color: var(--orange-2); }
.footer__col a.footer__soon { display: inline-flex; align-items: center; gap: 7px; color: #7A8090; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer__credit a {
  color: rgba(255,255,255,.78);
  font-weight: 600;
  border-bottom: 1px dotted rgba(255,255,255,.25);
  transition: color .15s ease, border-color .15s ease;
}
.footer__credit a:hover {
  color: var(--orange-2);
  border-bottom-color: var(--orange-2);
}

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .hero__inner { padding-top: 64px; padding-bottom: 80px; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .regions li { flex-basis: calc(25% - 9px); }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav__menu a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-2);
  }
  .nav__menu .btn { margin-top: 12px; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__menu {
    transform: none; opacity: 1; pointer-events: auto;
  }

  .hero__proof { grid-template-columns: 1fr 1fr; gap: 18px; }
  .services { grid-template-columns: 1fr; }
  .why__cards { grid-template-columns: 1fr; }
  .regions li { flex-basis: calc(50% - 6px); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .cta__form .row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta { padding: 72px 0 80px; }
}
