/* TechWise IT Solutions Provider site styles */

:root {
  --ink: #14171c;
  --ink-soft: #3d434d;
  --ink-mute: #6b727d;
  --paper: #ffffff;
  --paper-alt: #f5f6f8;
  --line: #e4e7eb;
  --brand: #e8611a;
  --brand-dark: #c44f12;
  --navy: #131722;
  --navy-2: #1c2231;
  --radius: 10px;
  --wrap: 1120px;
  --ease: cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3 { font-family: "Archivo", "Inter", system-ui, sans-serif; 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.3rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); }

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

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600;
  color: var(--brand-dark); margin: 0 0 .8rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,23,34,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand img { display: block; height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center;
}
.nav-menu a {
  color: #dfe3ea; text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 9px 14px; border-radius: 7px; transition: color .15s, background-color .15s;
}
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-menu .nav-cta { background: var(--brand); color: #fff; }
.nav-menu .nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(232,97,26,.22), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff; padding: clamp(56px, 9vw, 104px) 0 clamp(52px, 8vw, 92px);
}
.hero-net {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { color: #fff; }
.hero h1 .hl {
  position: relative; color: var(--brand); white-space: nowrap;
}
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .085em;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: hl-underline .7s .55s cubic-bezier(.2,.65,.25,1) forwards;
}
@keyframes hl-underline { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hl::after { animation: none; transform: scaleX(1); }
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9ced9; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Strip */
.strip { background: var(--navy-2); color: #fff; border-top: 1px solid rgba(255,255,255,.07); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 24px; }
.strip-figure { display: block; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.15rem; }
.strip-label { display: block; color: #9aa2b1; font-size: .86rem; }

/* Sections */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section-alt { background: var(--paper-alt); }
.section-lead { max-width: 640px; color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 2.4rem; }
.section h2 { max-width: 780px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,23,34,.10); border-color: #d3d7dd; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 16px; border-radius: 10px;
  color: var(--brand-dark); background: rgba(232,97,26,.10);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon { background: rgba(232,97,26,.16); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.also { margin-top: 28px; color: var(--ink-mute); font-size: .95rem; }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; margin-top: 1rem; }
.reason h3 { margin-bottom: .3em; }
.reason p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* Industries */
.industries {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.industries li {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 8px; padding: 16px 18px; font-weight: 500; color: var(--ink-soft);
}

/* About */
#about h2 { max-width: 780px; }
.about-body { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; margin-top: 1.8rem; }
.about-body:not(:has(.about-photo)) { grid-template-columns: 1fr; max-width: 720px; }
.about-photo img {
  width: 100%; height: auto; border-radius: 14px; display: block;
  filter: grayscale(100%) contrast(104%) brightness(.98);
  border: 1px solid var(--line);
}
.about-copy { max-width: 640px; }
.about-copy p { color: var(--ink-soft); }
.about-copy p:last-child { margin-bottom: 0; }

/* Contact */
.section-dark { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy p { color: #c9ced9; }
.expect { list-style: none; margin: 1.4rem 0; padding: 0; }
.expect li { position: relative; padding-left: 28px; margin-bottom: .6rem; color: #dfe3ea; }
.expect li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.contact-alt a { color: #fff; }

.contact-form-wrap { background: #fff; color: var(--ink); border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-row label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-row .opt { font-weight: 400; color: var(--ink-mute); }
.form-row input, .form-row textarea {
  font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--brand); outline: none; }
.form-row textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #1c7c3c; font-weight: 600; }
.form-status.err { color: #c0341d; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--ink-mute); margin-top: 10px; }

/* Footer */
.site-footer { background: #0f1219; color: #aeb4c0; padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-inner img { height: 40px; width: auto; }
.footer-tag { margin: 0; color: #c9ced9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: #aeb4c0; text-decoration: none; font-size: .93rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 6px 0 0; font-size: .85rem; color: #767d8b; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .reasons, .industries { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-body, .about-body:has(.about-photo) {
    grid-template-columns: 1fr; gap: 22px;
  }
  .about-photo { max-width: 200px; }
}
@media (max-width: 640px) {
  .cards, .reasons, .industries { grid-template-columns: 1fr; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; background: transparent; border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 18px; height: 2px; background: #fff; position: relative;
  }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 10px 16px 16px; gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu .nav-cta { text-align: center; margin-top: 6px; }
}
