/* United iT — corporate IT services site
   Brand: deep slate + teal, recovered from the original United iT identity. */

:root {
  --slate-900: #0f1c21;
  --slate-800: #16242b;
  --slate-700: #1d2f36;
  --teal: #14b4c4;
  --teal-deep: #0e8e9b;
  --sky: #90c6e7;
  --ink: #11181b;
  --paper: #ffffff;
  --paper-2: #f3f7f8;
  --line: #d7e2e5;
  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(15, 28, 33, .55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700;
  color: var(--teal); margin: 0 0 .9rem;
}
.eyebrow-dark { color: var(--teal-deep); }

.section-lead { font-size: 1.08rem; max-width: 60ch; margin: 0 0 2.4rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 28, 33, .96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(144, 198, 231, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 34px; width: auto; }
.nav { display: flex; align-items: center; }
.nav-menu {
  display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0;
}
.nav-menu a { color: #eaf4f6; font-weight: 600; font-size: .98rem; }
.nav-menu a:hover { color: var(--sky); text-decoration: none; }
.nav-cta {
  background: var(--teal); color: var(--slate-900) !important; padding: .55rem 1.1rem;
  border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--sky); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: #eaf4f6; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 460px at 78% -10%, rgba(20, 180, 196, .26), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(144, 198, 231, .18), transparent 55%),
    linear-gradient(160deg, var(--slate-900), var(--slate-700));
  color: #fff;
  padding: clamp(3.4rem, 8vw, 6.5rem) 0;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero-lead { font-size: 1.18rem; max-width: 62ch; color: #d9eaee; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-pillars {
  display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; list-style: none; padding: 1.4rem 0 0; margin: 0;
  border-top: 1px solid rgba(144, 198, 231, .22); max-width: 760px;
}
.hero-pillars li {
  font-weight: 700; color: var(--sky); font-size: .98rem;
  display: flex; align-items: center; gap: .55rem;
}
.hero-pillars li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.btn {
  display: inline-block; font-weight: 700; padding: .85rem 1.5rem; border-radius: 999px;
  font-size: 1rem; transition: transform .15s ease, background .2s ease, color .2s ease; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--slate-900); }
.btn-primary:hover { background: var(--sky); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(234, 244, 246, .5); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

/* ---------- Services ---------- */
.services { padding: clamp(3.4rem, 7vw, 6rem) 0; background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.card-featured { border-color: var(--teal); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--slate-800), var(--teal-deep)); color: #fff; margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { color: var(--slate-800); }
.card > p { margin: 0 0 1rem; }
.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; font-size: .96rem; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-radius: 2px; background: var(--teal); transform: rotate(45deg);
}

/* ---------- Why ---------- */
.why { padding: clamp(3.4rem, 7vw, 6rem) 0; background: var(--slate-800); color: #fff; }
.why h2 { color: #fff; max-width: 20ch; }
.why .eyebrow { color: var(--sky); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.why-item {
  background: rgba(144, 198, 231, .06); border: 1px solid rgba(144, 198, 231, .16);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
}
.why-item h3 { color: var(--sky); }
.why-item p { margin: 0; color: #e3eff2; font-size: .98rem; }

/* ---------- About ---------- */
.about { padding: clamp(3.4rem, 7vw, 6rem) 0; background: var(--paper-2); }
.about-text { max-width: 64ch; }
.about-text h2 { color: var(--slate-800); }

/* ---------- Contact ---------- */
.contact { padding: clamp(3.4rem, 7vw, 6rem) 0; background: var(--paper); }
.contact-intro { max-width: 60ch; }
.contact-intro h2 { color: var(--slate-800); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.contact-card {
  border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px;
  padding: 1.6rem 1.5rem; background: var(--paper);
}
.contact-card h3 { color: var(--slate-800); }
.contact-card p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: #fff; padding: 3rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-logo { height: 30px; width: auto; margin-bottom: .4rem; }
.footer-tag { margin: 0; color: var(--sky); font-weight: 600; }
.footer-legal { margin: 0; color: #c7d8dc; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .why-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--slate-900); border-bottom: 1px solid rgba(144,198,231,.16);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-menu.open { max-height: 360px; }
  .nav-menu li { border-top: 1px solid rgba(144,198,231,.12); }
  .nav-menu a { display: block; padding: 1rem 6vw; }
  .nav-cta { border-radius: 0; }
}
@media (max-width: 560px) {
  .cards, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}
