/* 1GB Computers — core stylesheet
   Blue / Yellow / White theme. No external fonts or frameworks for max speed. */

:root {
  --blue-900: #08306b;
  --blue-800: #0b4fa8;
  --blue-700: #0d5fd0;
  --blue-100: #e7f0fd;
  --yellow-500: #ffc400;
  --yellow-400: #ffd23f;
  --yellow-100: #fff6d9;
  --white: #ffffff;
  --ink: #10233f;
  --ink-soft: #445470;
  --border: #dfe7f5;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 79, 168, 0.12);
  --max-width: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}

a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--blue-900); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.section { padding: 64px 0; }
.section-alt { background: var(--blue-100); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow {
  display: inline-block;
  color: var(--blue-800);
  background: var(--yellow-100);
  border: 1px solid var(--yellow-400);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--yellow-500); color: var(--blue-900); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--yellow-400); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-800); }
.btn-secondary { background: var(--blue-800); color: var(--white); }
.btn-secondary:hover { background: var(--blue-700); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.topbar {
  background: var(--blue-900);
  color: var(--yellow-400);
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--yellow-400); }
.topbar-links { display: flex; gap: 16px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blue-900);
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.brand .tagline { display: block; font-size: .7rem; font-weight: 500; color: var(--ink-soft); }
.footer-brand .brand .tagline { color: #a9bde0; }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-700); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 18px; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: var(--blue-100);
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--blue-900);
  margin: 6px auto;
  width: 22px;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, var(--blue-700), var(--blue-900) 65%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--yellow-500);
  opacity: .18;
}
.hero .container {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 mark { background: none; color: var(--yellow-400); }
.hero p.lead { color: #d9e6ff; font-size: 1.1rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.6rem; color: var(--yellow-400); }
.hero-stats div span { font-size: .82rem; color: #c7d7f5; }

.hero-art {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(2px);
}
.hero-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-art li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: .92rem;
}
.hero-art li .ico { color: var(--yellow-400); flex-shrink: 0; }

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ico-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 12px; }
.card .link { font-weight: 700; font-size: .9rem; }

/* Product/price tags */
.tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.tag-yellow { background: var(--yellow-100); color: #7a5a00; }

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 56px;
  margin-bottom: 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-800);
  color: var(--yellow-400);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--blue-100); color: var(--blue-900); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #d9e6ff; margin: 0; }

/* Map + contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-list .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a { color: var(--blue-700); }

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: #c7d7f5;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c7d7f5; }
.site-footer a:hover { color: var(--yellow-400); }
.footer-brand p { color: #a9bde0; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.social-row a:hover { background: var(--yellow-500); color: var(--blue-900); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Page header (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 56px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #d9e6ff; max-width: 60ch; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: block; }
  .nav-cta.open .nav-links,
  .site-header.nav-open .nav-links {
    display: flex;
  }
  .site-header.nav-open .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .topbar .container { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .hero .container { padding-top: 36px; padding-bottom: 36px; }
  .page-hero { padding: 40px 0; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 18px; }
  .cta-band { padding: 32px 20px; }
  .cta-band > div[style] { width: 100%; }
  .topbar-links { flex-direction: column; gap: 2px; align-items: center; }
  .card { padding: 22px 18px; }
}
