/* Focus IT Consulting, LLC | v0.1.3 Beta */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); }

:root {
  --navy: #010736;
  --navy-2: #0D1C42;
  --mid: #22396F;
  --blue: #22396F;
  --grey: #E3E6EC;
  --grey-dim: #AEB5C4;
  --blue-soft: #eceff5;
  --ink: #0D1C42;
  --muted: #4b5675;
  --line: #e1e4ec;
  --bg-alt: #f3f4f7;
  --white: #fff;
  --radius: 14px;
  --max: 1120px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--mid); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #8fa3d9; outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 52px; width: auto; }
.brand .on-light { display: none; }
.site-header.solid { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.site-header.solid .brand .on-dark { display: none; }
.site-header.solid .brand .on-light { display: block; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--grey-dim); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--grey); }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .nav a:hover { color: var(--blue); }
.nav .btn-nav { border: 1.5px solid currentColor; padding: 8px 18px; border-radius: 999px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: #fff; cursor: pointer; }
.site-header.solid .menu-btn { color: var(--ink); }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 700px at 78% 45%, #22396F 0%, #0D1C42 38%, var(--navy) 68%); color: #fff; overflow: hidden; padding: 170px 0 120px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 500; color: var(--grey); margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--grey); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--grey-dim); max-width: 34em; margin-bottom: 36px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; font-family: inherit; font-size: 16px; font-weight: 500; padding: 14px 28px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grey); color: var(--navy); }
.btn-primary:hover { background: var(--grey); color: var(--navy); }
.btn-ghost { border-color: rgba(227,230,236,.55); color: var(--grey); }
.btn-ghost:hover { background: rgba(227,230,236,.10); color: var(--grey); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--navy-2); color: #fff; }
.lens { justify-self: center; width: min(430px, 100%); aspect-ratio: 1; }
.lens svg { width: 100%; height: 100%; overflow: visible; }
.lens .ring { transform-origin: 50% 50%; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* Sections */
section { padding: 104px 0; }
.alt { background: var(--bg-alt); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 500; color: var(--blue); margin-bottom: 14px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Services */
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(1,7,54,.10); transform: translateY(-3px); border-color: #c5ccdb; }
.card .num { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.note { margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; color: var(--ink); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin-bottom: 24px; }
.about p { color: var(--muted); font-size: 18px; }
.stats { display: grid; gap: 18px; }
.stat { background: var(--navy); color: var(--grey); border-radius: var(--radius); padding: 28px 30px; }
.stat b { display: block; font-size: 46px; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--grey-dim); font-size: 16px; }
.stat.light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.stat.light span { color: var(--muted); }
.stat.light b { color: var(--blue); }

/* Process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 26px; border-top: 3px solid var(--line); }
.step::before { content: ""; position: absolute; top: -3px; left: 0; width: 56px; border-top: 3px solid var(--blue); }
.step .n { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .12em; margin-bottom: 10px; display: block; }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Development */
.dev { background: var(--navy-2); color: #fff; }
.dev .kicker { color: var(--grey); }
.dev .section-head p { color: var(--grey-dim); }
.apps { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.app { display: block; color: inherit; text-decoration: none; background: rgba(227,230,236,.06); border: 1px solid rgba(227,230,236,.18); border-radius: var(--radius); padding: 26px 22px; transition: background .2s, border-color .2s, transform .2s; }
a.app:hover { background: rgba(227,230,236,.12); border-color: rgba(227,230,236,.5); transform: translateY(-3px); color: inherit; }
.app .url { display: block; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--grey); }
.app h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.app .what { color: var(--grey); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.app p { color: var(--grey-dim); font-size: 15px; margin: 0; }
.app.soon { border-style: dashed; background: transparent; }
.tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--grey); color: var(--navy); }
.dev .foot { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.dev .foot p { margin: 0; color: var(--grey-dim); max-width: 40em; font-size: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin-bottom: 20px; }
.contact p { color: var(--muted); font-size: 18px; }
.contact .meta { margin-top: 28px; display: grid; gap: 14px; font-size: 17px; }
.contact .meta b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
form.card { padding: 36px 32px; }
form.card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #c3c9d8; border-radius: 10px; padding: 12px 14px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(34,57,111,.20); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: #0a6b3a; }
.form-msg.err { color: #a11a1a; }
.thanks { text-align: center; padding: 28px 8px; }
.thanks h3 { font-size: 26px; margin-bottom: 10px; }
.thanks p { margin: 0; }
button[disabled] { opacity: .6; cursor: wait; }

/* Footer */
footer { background: var(--navy); color: var(--grey-dim); padding: 56px 0 40px; font-size: 15px; }
footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(227,230,236,.16); }
footer img { height: 44px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
footer a { color: var(--grey); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .bottom { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer .bottom p { margin: 0; }

/* Legal pages */
.doc-hero { background: var(--navy); color: #fff; padding: 140px 0 56px; }
.doc-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.doc-hero p { color: var(--grey-dim); margin: 12px 0 0; }
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.doc p, .doc li { color: #2a3556; }
.doc ol { padding-left: 22px; }

/* Responsive */
@media (max-width: 1040px) {
  .apps { grid-template-columns: repeat(3, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}
@media (max-width: 860px) {
  section { padding: 76px 0; }
  .hero { padding: 130px 0 80px; }
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .lens { width: min(280px, 70%); order: -1; justify-self: start; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a, .site-header.solid .nav a { color: #fff; padding: 12px 0; width: 100%; }
  .nav .btn-nav { border: 0; padding: 12px 0; border-radius: 0; }
  .site-header.menu-open { background: var(--navy); }
  .site-header.menu-open .brand .on-light { display: none; }
  .site-header.menu-open .brand .on-dark { display: block; }
  .site-header.menu-open .menu-btn { color: #fff; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .g3, .apps, .steps, .row { grid-template-columns: 1fr; }
  form.card { padding: 26px 20px; }
  .brand img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lens .ring { animation: none; }
  * { transition: none !important; }
}
