:root {
  --color-bg:          #0a0d12;
  --color-surface:     #131820;
  --color-surface-2:   #192030;
  --color-border:      #1d2638;
  --color-accent:      #f5c518;
  --color-accent-glow: rgba(245, 197, 24, 0.07);
  --color-text:        #d4d9e8;
  --color-text-muted:  #616f89;
  --color-white:       #ffffff;
  --font:              'Helvetica Neue', Arial, system-ui, sans-serif;
  --radius:            3px;
  --max-w:             1120px;
  --header-h:          66px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.accent { color: var(--color-accent); }

/* ─── HEADER ─────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  background: rgba(10, 13, 18, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Phone — top-left, always visible */
.header-phone {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover { color: var(--color-white); }

/* Wordmark */
.header-brand {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.18s;
}
.nav-link:hover,
.nav-link.active { color: var(--color-white); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.22s;
}

/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #090b0f;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: #ffd84a;
  border-color: #ffd84a;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: rgba(245, 197, 24, 0.45);
}
.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #090b0f;
}

/* ─── HERO ───────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Angled yellow glow — asymmetric, bottom-left weighted */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 12% 80%, rgba(245,197,24,.055) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 65% 20%, rgba(245,197,24,.025) 0%, transparent 70%);
  pointer-events: none;
}

/* Fine grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 1.75rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245,197,24,0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
}

.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.25rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.028em;
  color: var(--color-white);
  margin-bottom: 1.75rem;
  max-width: 14ch;
}

.hero-headline .word-accent {
  color: var(--color-accent);
}

.hero-sub {
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ─── STATS STRIP ────────────────────────────────────── */

.stats-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 3.5rem;
  text-align: center;
  gap: 0.3rem;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--color-border);
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ─── SECTION BASE ───────────────────────────────────── */

.section { padding: 6rem 0; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 54ch;
}

/* ─── SERVICES GRID (HOME PREVIEW) ──────────────────── */

.services-home {
  background: var(--color-bg);
}

.svc-head { margin-bottom: 3.25rem; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 1px);
  overflow: hidden;
  gap: 1px;
  background: var(--color-border);
}

.svc-card {
  background: var(--color-surface);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.svc-card:hover { background: var(--color-surface-2); }

.svc-index {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
  display: block;
}

.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.svc-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.svc-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── ABOUT SECTION (HOME) ───────────────────────────── */

.about-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.about-text p:last-of-type { margin-bottom: 0; }

.about-cta { margin-top: 2rem; }

.proof-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proof-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.proof-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  min-width: 3.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.proof-val.accent { color: var(--color-accent); }

.proof-label {
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.45;
}

.proof-label small {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 0.15rem;
}

/* ─── CTA BAND ───────────────────────────────────────── */

.cta-band {
  background: var(--color-bg);
  padding: 5.5rem 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 100%, rgba(245,197,24,.04) 0%, transparent 65%);
  pointer-events: none;
}

.cta-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cta-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.45rem;
}

.footer-addr {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0.55rem;
}

.footer-tel {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}
.footer-tel:hover { color: var(--color-white); }

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav-list a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-nav-list a:hover { color: var(--color-white); }

.footer-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.1rem 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ─── PAGE HEADER (inner pages) ──────────────────────── */

.page-header {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* ─── SERVICES PAGE ──────────────────────────────────── */

.services-page { padding: 5rem 0; }

.svc-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.svc-block:first-child { border-top: 1px solid var(--color-border); }

.svc-block-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-surface-2);
  line-height: 1;
  padding-top: 0.2rem;
  user-select: none;
  letter-spacing: -0.04em;
}

.svc-block-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.svc-block-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.78;
  margin-bottom: 0.75rem;
  max-width: 62ch;
}

.svc-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.svc-detail-list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 1.5rem;
  position: relative;
}

.svc-detail-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.78rem;
  top: 0.1em;
}

/* ─── CONTACT PAGE ───────────────────────────────────── */

.contact-body { padding: 5rem 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.contact-info > p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.78;
  margin-bottom: 1rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}

.cc-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.cc-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.cc-value a {
  color: var(--color-accent);
  text-decoration: none;
}
.cc-value a:hover { color: var(--color-white); }

/* Contact form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 2.5rem;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  transition: border-color 0.18s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23616f89' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .svc-block {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .svc-block-num {
    font-size: 1.25rem;
    color: var(--color-accent);
  }

  .cta-layout {
    flex-direction: column;
    text-align: center;
  }

  .cta-btns { justify-content: center; }

  .stat-item { padding: 1.4rem 2rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    align-items: stretch;
  }

  .site-nav.open { display: flex; }

  .nav-link {
    padding: 0.9rem 1.75rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link:last-child { border-bottom: none; }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .hero-headline { max-width: none; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 1.5rem; }

  .footer-layout { flex-direction: column; }

  .footer-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
