/* JD IT Solutions LLC — site styles. Plain CSS, no framework. */
:root {
  --navy-950: #07111f;
  --navy-900: #0b1a2e;
  --navy-800: #11243f;
  --navy-700: #1b3355;
  --slate-600: #475569;
  --slate-500: #64748b;
  --ink: #0f1c2e;
  --text: #1e293b;
  --muted: #4a5568;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --accent: #00c0f8;          /* logo cyan — for use on dark backgrounds */
  --accent-strong: #006d99;   /* accessible cyan for text/links on light backgrounds */
  --accent-soft: #e3f6fd;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 28, 46, .06), 0 8px 24px rgba(15, 28, 46, .06);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.light-bg :focus-visible, main :focus-visible { outline-color: var(--accent-strong); }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .75rem; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); }
.dark { background: var(--navy-900); color: #d5deea; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #c3cfdf; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; padding: .95rem 1.35rem; border-radius: 10px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--navy-950); }
.btn-primary:hover { background: #3fd2ff; color: var(--navy-950); }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand img { width: 50px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
.brand-name span { color: var(--accent); }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb0c6; margin-top: 2px; }
.brand:hover .brand-name { color: #fff; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a { display: block; padding: .6rem .85rem; color: #d5deea; text-decoration: none; font-weight: 550; font-size: .98rem; border-radius: 8px; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav .nav-phone { margin-left: .5rem; }
.site-nav .nav-phone a { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; color: #fff; font-weight: 600; white-space: nowrap; }
.site-nav .nav-phone svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.site-nav .nav-cta { margin-left: .35rem; }
.site-nav .nav-cta a { white-space: nowrap; }
.header-call { display: none; }
.site-nav .nav-cta a { background: var(--accent); color: var(--navy-950); font-weight: 700; padding: .65rem 1.05rem; border-radius: 9px; }
.site-nav .nav-cta a:hover { background: #3fd2ff; color: var(--navy-950); }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: .5rem .6rem; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1060px) and (min-width: 961px) {
  .site-nav a { padding: .6rem .6rem; }
}
@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .header-call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--accent); color: var(--navy-950); margin-left: auto; }
  .header-call:hover { background: #3fd2ff; color: var(--navy-950); }
  .header-call svg { width: 20px; height: 20px; }
  .site-nav .nav-phone { margin: 0; }
  .js .site-nav .nav-phone a { display: flex; font-size: 1rem; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.1); padding: .5rem 1.5rem 1.25rem; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a { padding: .85rem .85rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .site-nav .nav-cta { margin: 1rem 0 0; }
  .js .site-nav .nav-cta a { text-align: center; border-bottom: 0; border-radius: 9px; padding: .9rem; }
  .no-js .header-inner { flex-wrap: wrap; padding: .75rem 0; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 85% -10%, rgba(0,192,248,.18), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #d5deea; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { color: #c3cfdf; max-width: 38rem; margin-bottom: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: .95rem; color: #9fb0c6; }
.hero-note a { color: #fff; }
.hero-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1.75rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-card h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: #9fb0c6; font-weight: 700; margin-bottom: 1.1rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.hero-card .check-list li { color: #e6edf6; }
.hero-card .check-list strong { color: #fff; display: block; }
.hero-card .check-list span { font-size: .93rem; color: #aebdd1; }

.page-hero { background: radial-gradient(900px 400px at 90% -20%, rgba(0,192,248,.16), transparent 60%), var(--navy-900); color: #c3cfdf; padding: clamp(3rem, 6vw, 4.75rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); max-width: 22ch; }
.page-hero .lead { color: #c3cfdf; max-width: 44rem; margin: 0; }

/* Audience strip */
.audience { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.audience-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.audience-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-weight: 550; color: var(--ink); display: flex; gap: .7rem; align-items: flex-start; }
.audience-list svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: 3px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: .98rem; }
.card .card-link { margin-top: auto; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.card .card-link:hover { text-decoration: underline; }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 1.1rem; flex: none; }
.icon-badge svg { width: 26px; height: 26px; }
.dark .icon-badge { background: rgba(0,192,248,.12); color: var(--accent); }

.value { padding: .25rem 0; }
.value .num { font-size: .85rem; font-weight: 800; color: var(--accent-strong); letter-spacing: .1em; }
.value h3 { margin-top: .4rem; }
.value p { color: var(--muted); margin: 0; }
.dark .value p { color: #b9c6d8; }
.dark .value .num { color: var(--accent); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values-grid .value { border-top: 2px solid rgba(0,192,248,.5); padding-top: 1.25rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.5rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.partners li { font-weight: 700; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.3rem; letter-spacing: .01em; }
.partners-note { text-align: center; color: var(--muted); font-size: .95rem; margin: 1.5rem auto 0; max-width: 46rem; }

/* CTA band */
.cta-section { padding-top: 0; }
.section-alt + .cta-section, .dark + .cta-section { padding-top: clamp(3.5rem, 7vw, 6rem); }
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #d5deea; border-radius: 18px; padding: clamp(2rem, 5vw, 3.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { margin: 0; color: #c3cfdf; max-width: 36rem; }
.cta-band .cta-contact { margin-top: .75rem; color: #fff; font-weight: 600; }
.cta-band .cta-contact a { color: var(--accent); white-space: nowrap; }
.cta-band .cta-contact a:hover { color: #fff; }

/* Services page */
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; list-style: none; padding: 0; }
.service-nav a { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.service-nav a:hover { border-color: var(--accent); color: var(--accent); }
.service { scroll-margin-top: 90px; }
.service-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
@media (min-width: 901px) { .service-intro { position: sticky; top: 104px; } }
.service-intro .icon-badge { width: 56px; height: 56px; }
.service-intro .icon-badge svg { width: 30px; height: 30px; }
.service-intro p { color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.section-alt .feature-list li { background: #fff; }
.feature-list strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.feature-list span { color: var(--muted); font-size: .97rem; }
.subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.subgrid .feature-list { gap: 1rem; }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.mission { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 650; color: var(--ink); line-height: 1.4; border-left: 4px solid var(--accent); padding-left: 1.25rem; margin: 0 0 1.5rem; }
.leader-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; box-shadow: var(--shadow); display: flex; gap: 1.25rem; align-items: center; }
.monogram { width: 76px; height: 76px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; flex: none; border: 3px solid var(--accent); }
.leader-card h3 { margin: 0; }
.leader-card p { margin: .15rem 0 .5rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--navy-900); color: #d5deea; border-radius: 16px; padding: 2rem; }
.contact-card h2 { color: #fff; font-size: 1.5rem; }
.contact-card .email-link { display: block; width: fit-content; font-size: 1.25rem; font-weight: 700; color: var(--accent); margin: .25rem 0 .35rem; word-break: break-all; }
.contact-card .email-link + p { margin-top: 1rem; }
.contact-card li a { color: #fff; }
.contact-card .muted-small { font-size: .88rem; color: #9fb0c6; }
.contact-card .email-link:hover { color: #fff; }
.contact-card ul { margin: 1.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.12); list-style: none; display: grid; gap: .6rem; }
.contact-card li { display: flex; gap: .6rem; font-size: .97rem; }
.contact-card li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--slate-500); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1px solid #b8c3d3; border-radius: 9px; padding: .75rem .85rem; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0,109,153,.35); outline-offset: 0; border-color: var(--accent-strong); }
.form-help { font-size: .9rem; color: var(--muted); margin-top: .85rem; }

/* 404 */
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--accent-strong); line-height: 1; margin-bottom: .5rem; }
.notfound .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-950); color: #aebdd1; padding: 3.5rem 0 2rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d5deea; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand p { margin: 1rem 0 0; max-width: 26rem; }
.footer-bottom p { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .9rem; color: #8fa1b8; }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .audience, .service-grid, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .values-grid, .steps, .card-grid.three { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 1.15rem; }
  .card-grid, .audience-list, .subgrid, .form-row { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .brand-sub { font-size: .62rem; letter-spacing: .1em; }
  .site-footer .brand-sub { display: none; }
  .brand img { width: 42px; }
  .leader-card { flex-direction: column; align-items: flex-start; }
  .form-card, .contact-card { padding: 1.4rem; }
}

/* Contact form anti-spam */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.recaptcha-slot { min-height: 78px; margin: .15rem 0 1.1rem; max-width: 100%; }
.form-status { margin: 0 0 1rem; padding: .75rem .9rem; border-radius: 9px; background: #fff7e0; border: 1px solid #f0d58a; color: #5a4300; font-size: .95rem; }
.form-status:empty { display: none; }
@media (max-width: 400px) {
  .recaptcha-slot { min-height: 66px; }
  .recaptcha-slot > div { transform: scale(.84); transform-origin: 0 0; }
}
@media (max-width: 340px) {
  .recaptcha-slot { min-height: 60px; }
  .recaptcha-slot > div { transform: scale(.76); }
}

/* Header brand "JD IT Solutions LLC": keep on one line on small phones */
@media (max-width: 400px) {
  .site-header .brand { gap: .55rem; }
  .site-header .brand img { width: 38px; }
  .site-header .brand-name { font-size: 1.02rem; letter-spacing: -0.02em; }
}
@media (max-width: 350px) {
  .site-header .brand-sub { font-size: .56rem; letter-spacing: .06em; }
  .site-header .brand { gap: .45rem; }
  .site-header .brand img { width: 34px; }
  .site-header .brand-name { font-size: .9rem; }
}
#message { scroll-margin-top: 90px; }
