/* ===========================================================
   Nare IT Solutions — site styles
   Brand tokens lifted straight from the Nare PSA app so the
   website and the client portal feel like one product.
   =========================================================== */

:root {
  --bg:          #17191c;
  --bg-deep:     #141619;
  --surface:     #1e2226;
  --surface-2:   #23282d;
  --border:      #2c3238;
  --border-soft: #242a30;

  --teal:        #12969f;
  --teal-bright: #1cc0cb;
  --teal-dim:    #0e6f76;

  --text:        #e7eaec;
  --muted:       #8b9299;
  --faint:       #5c646b;

  --good:        #3fae7a;
  --warn:        #e0a13c;

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-bright); text-decoration: none; }
a:hover { color: #4ad6e0; }

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

/* ---------- shared type ---------- */

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; }

h1 { font-size: 46px; font-weight: 700; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.005em; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal-bright);
  margin-bottom: 14px;
}

.lede  { font-size: 17.5px; color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 22, 25, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { color: var(--teal-bright); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background .12s, color .12s;
}
.site-nav a:hover { background: var(--surface); color: var(--text); }
.site-nav a.active { background: rgba(18, 150, 159, .16); color: var(--teal-bright); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding: 8px 15px;
  border-radius: 9px;
  background: var(--teal);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .12s;
}
.header-cta:hover { background: var(--teal-bright); }

/* mobile nav */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  padding: 7px 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}

.btn-primary { background: var(--teal); color: #fff !important; }
.btn-primary:hover { background: var(--teal-bright); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text) !important;
}
.btn-ghost:hover { border-color: var(--teal-dim); background: var(--surface); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  padding: 92px 0 84px;
}

/* soft teal wash behind the headline, echoing the logo's glow */
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(18, 150, 159, .17), transparent 68%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 52ch; margin-bottom: 30px; }

.hero-mark {
  display: grid;
  place-items: center;
  padding: 26px;
}
.hero-mark img {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 0 42px rgba(28, 192, 203, .22));
}

/* small reassurance line under the hero buttons */
.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--good); flex-shrink: 0; }

/* ---------- page header (interior pages) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--border-soft);
}
.page-head::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 12%;
  width: 700px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(18, 150, 159, .13), transparent 68%);
  pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head h1 { font-size: 40px; margin-bottom: 16px; }
.page-head .lede { max-width: 60ch; }

/* ---------- sections ---------- */

.section { padding: 74px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-deep); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-head { max-width: 62ch; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
}

.card h3 { margin-bottom: 9px; }
.card p { font-size: 14px; color: var(--muted); }

/* cards that link somewhere get a hover lift */
a.card { display: block; color: inherit; transition: border-color .14s, background .14s; }
a.card:hover { border-color: var(--teal-dim); background: var(--surface-2); color: inherit; }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: rgba(18, 150, 159, .14);
  color: var(--teal-bright);
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; }

/* ---------- service detail blocks ---------- */

.service {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
}
.service:last-of-type { border-bottom: 1px solid var(--border-soft); }

.service-label { position: relative; }
.service-label h3 { font-size: 20px; margin-bottom: 8px; }
.service-label .tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}

.service-body p { color: var(--muted); font-size: 14.5px; max-width: 66ch; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- list with teal checks ---------- */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.checks svg { width: 17px; height: 17px; color: var(--teal-bright); flex-shrink: 0; margin-top: 3px; }
.checks strong { color: var(--text); font-weight: 600; }

/* ---------- split (text + panel) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* ---------- callout ---------- */

.callout {
  border-left: 2px solid var(--teal);
  background: rgba(18, 150, 159, .07);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: #9fdde2;
  line-height: 1.55;
}

/* ---------- contact cards ---------- */

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  color: inherit;
  transition: border-color .14s, background .14s;
}
a.contact-card:hover { border-color: var(--teal-dim); background: var(--surface-2); color: inherit; }

.contact-card .card-icon { margin-bottom: 0; }
.contact-card .c-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 5px;
}
.contact-card .c-value { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.contact-card .c-note { font-size: 13px; color: var(--faint); margin-top: 5px; }

/* ---------- area list ---------- */

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.area-list li {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 15px;
}
.area-list li.home { border-color: var(--teal-dim); color: var(--teal-bright); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: 66px 0;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(18, 150, 159, .15), transparent 68%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 54ch; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: 46px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--faint);
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--teal-bright); }

.footer-blurb { color: var(--muted); max-width: 40ch; margin-top: 14px; font-size: 13.5px; }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 13px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .page-head h1 { font-size: 32px; }

  .hero { padding: 62px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-mark { order: -1; padding: 0; }
  .hero-mark img { max-width: 190px; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .service { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* nav collapses to a toggle */
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 22px 18px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-soft);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 13px; font-size: 15px; }
  .header-cta { margin: 8px 0 0; justify-content: center; padding: 12px 15px; }
}

@media (min-width: 901px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- FAQ ----------
   Answers are rendered as plain visible text rather than hidden in an
   accordion. Search engines and AI assistants extract question/answer
   pairs far more reliably when the answer is in the rendered page. */

.faq { display: grid; gap: 16px; }
.faq-2 { grid-template-columns: repeat(2, 1fr); }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.faq-item h3 {
  font-size: 15.5px;
  font-weight: 650;
  margin-bottom: 9px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.faq-item h3::before {
  content: "Q";
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-bright);
  letter-spacing: .06em;
  flex-shrink: 0;
}
.faq-item p { font-size: 14px; color: var(--muted); }

/* ---------- key facts / quick answer block ----------
   A compact, literal summary of the business. Written to be quotable:
   short declarative sentences an assistant can lift verbatim. */

.facts {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 6px 24px;
}
.fact-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}
.fact-row:last-child { border-bottom: none; }
.fact-row dt {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--faint);
  padding-top: 3px;
}
.fact-row dd { margin: 0; color: var(--text); }

@media (max-width: 900px) {
  .faq-2 { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 4px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
