/* ==========================================================================
   Advanced Computer Consulting — stylesheet
   ========================================================================== */

:root {
  --navy: #20232a;        /* charcoal — dark sections, footer, headings */
  --navy-600: #2c2f38;
  --blue: #f5901e;         /* brand orange — fills, buttons, icons, accents */
  --blue-600: #b5630a;     /* deep orange — readable text links & hovers */
  --teal: #f9b15a;         /* warm light-orange — glows & ticks */
  --ink: #23262d;
  --slate: #54607a;
  --muted: #79829a;
  --line: #e7e2db;
  --bg: #ffffff;
  --bg-soft: #f8f7f4;
  --bg-tint: #fdecd6;      /* warm tint behind icons/pills */
  --white: #ffffff;
  --amber: #f5901e;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, .10);
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--slate); }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.brand-logo { height: 52px; width: auto; display: block; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.footer-logo img { height: 46px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .96rem;
}
.nav-links a:hover { background: var(--bg-tint); text-decoration: none; }
.nav-links a.active { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .96rem;
  border: 1px solid transparent; transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--navy); box-shadow: 0 6px 18px rgba(245, 144, 30, .34); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(245, 144, 30, .30), transparent 60%),
              linear-gradient(160deg, var(--navy), var(--navy-600) 70%, #14161b);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(800px 400px at 75% 0, #000, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 76px 0 84px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #e3ddd4; max-width: 36ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f7b977; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(245,144,30,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #c9c2b6; font-size: .9rem; }
.hero-trust strong { color: #fff; display: block; font-size: 1.4rem; }

.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h2 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.10); color: #e9e3d9; font-size: .96rem; }
.hero-card li:last-child { border-bottom: 0; }
.hero-card .tick { color: var(--teal); font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.tint { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { color: var(--blue); justify-content: center; }
.section-head .eyebrow::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(245,144,30,.20); }
.section-head p { font-size: 1.08rem; }

/* ---------- Grid cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0f4; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card .icon {
  width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue); margin-bottom: 16px; font-size: 1.4rem;
}
.card-link { font-weight: 700; font-size: .92rem; margin-top: 14px; display: inline-block; }

.stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.review-meta { margin: 14px 0 0; color: var(--navy); font-weight: 700; font-size: .92rem; }
.review-meta span { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }

.service-card { display: flex; flex-direction: column; }
.service-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--slate); font-size: .92rem; }
.service-card ul li { margin-bottom: 6px; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; }
.feature-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.feature-list .badge {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue); font-weight: 800;
}
.feature-list h4 { margin: 0 0 2px; font-size: 1.02rem; }
.feature-list p { margin: 0; font-size: .94rem; }
.media-panel {
  border-radius: var(--radius-lg); padding: 40px; color: #fff; min-height: 340px;
  background: radial-gradient(600px 300px at 20% 0, rgba(245,144,30,.42), transparent 60%),
              linear-gradient(160deg, var(--navy), var(--navy-600));
  display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-md);
}
.media-panel h3 { color: #fff; }
.media-panel p { color: #e3ddd4; margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--navy); font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- Stats band ---------- */
.band { background: var(--navy); color: #fff; }
.band .grid-4 { gap: 16px; text-align: center; }
.band .stat strong { display: block; font-size: 2.2rem; color: #fff; }
.band .stat span { color: #c9c2b6; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta {
  text-align: center; border-radius: var(--radius-lg); padding: 56px 28px; color: #fff;
  background: radial-gradient(700px 350px at 50% -20%, rgba(245,144,30,.45), transparent 65%),
              linear-gradient(160deg, var(--navy), var(--navy-600));
  box-shadow: var(--shadow-md);
}
.cta h2 { color: #fff; }
.cta p { color: #e7e1d7; max-width: 52ch; margin: 0 auto 24px; font-size: 1.08rem; }
.cta .btn-primary { background: var(--blue); color: var(--navy); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-600)); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #e3ddd4; max-width: 60ch; font-size: 1.1rem; margin: 0; }
.breadcrumbs { font-size: .85rem; color: #b7ad9f; margin-bottom: 14px; }
.breadcrumbs a { color: #f3d9b9; }
.breadcrumbs span { color: #8a7e6e; padding: 0 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; }
.info-list strong { display: block; color: var(--navy); }
.info-list a { color: var(--slate); }

form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(245,144,30,.20);
}
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 10px; padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7bfb2; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c7bfb2; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #a89e8e; font-size: .92rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: #978c7b; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--slate); }
.pill { display: inline-block; background: var(--bg-tint); color: var(--blue-600); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { order: -1; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; border-radius: 8px; }
  .nav-toggle { display: block; }
  .brand-logo { height: 42px; }
  .nav .nav-cta .btn-ghost { display: none; }
  .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 54px 0 60px; }
}
