:root {
  --ink: #1c2430;
  --ink-2: #2b3644;
  --text: #2a313b;
  --muted: #5a6472;
  --bg: #ffffff;
  --bg-alt: #f4f2ee;
  --line: #e2ded6;
  --accent: #e08a1e;
  --accent-dark: #a85f06;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(28, 36, 48, 0.08);
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: var(--accent-dark); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 36, 48, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 2px;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.brand-text strong { color: var(--accent); font-weight: 800; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #fff;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #e8ebef;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(224, 138, 30, 0.22), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #e8ebef;
  padding: 110px 0 120px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border: 18px solid rgba(224, 138, 30, 0.35);
  transform: rotate(45deg);
}

.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--accent-dark); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--accent); display: block; }

.lead { font-size: 1.15rem; max-width: 620px; color: #d3d8df; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #f09c32; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }

.card-icon {
  display: block;
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--ink);
}

.icon-house::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 20px;
  height: 14px;
  background: var(--accent);
}
.icon-house::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-bottom: 12px solid var(--accent);
}

.icon-layers::before,
.icon-layers::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 24px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
}
.icon-layers::before { top: 15px; box-shadow: 0 10px 0 var(--accent); }
.icon-layers::after { top: 35px; left: 12px; width: 24px; opacity: 0.55; }

.icon-tool::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 12px;
  width: 5px;
  height: 26px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.icon-tool::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 14px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-copy p { font-size: 1.05rem; }

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.fact dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.fact dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid > div > p { font-size: 1.05rem; color: var(--muted); }

.contact-card {
  background: var(--ink);
  color: #e8ebef;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--accent);
}
.contact-card h3 { color: #fff; font-size: 1.2rem; }
.contact-card address { font-style: normal; font-size: 1.05rem; line-height: 1.75; }
.contact-note { margin: 18px 0 0; font-size: 0.9rem; color: #b9c1cb; }

/* Footer */
.site-footer {
  background: #141a23;
  color: #b9c1cb;
  padding: 48px 0 36px;
  font-size: 0.92rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top p { margin: 0; }
.footer-brand { font-size: 1.1rem; }
.legal { max-width: 860px; }
.copyright { margin: 0; color: #8f99a6; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

  .hero { padding: 72px 0 88px; }
  .hero::after { width: 160px; height: 160px; border-width: 12px; right: -50px; bottom: -50px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .contact-card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
