@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

:root {
  --bg: #0d0d0d;
  --panel: #181818;
  --border: #2a2a2a;
  --accent: #e10600;
  --accent-dim: rgba(225,6,0,0.12);
  --muted: #777;
  --text: #e8e8e8;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
  color: #fff !important;
}
.nav-cta:hover { background: #c00500 !important; color: #fff !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #c00500; transform: translateY(-1px); }

.btn-secondary {
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--text); border-color: var(--text); }

/* SECTION COMMON */
.section { padding: 100px 64px; }
.section-header { margin-bottom: 60px; }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

/* STATS BAR */
.stats-bar {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 40px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}
.service-card {
  background: var(--panel);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: pointer;
}
.service-card:hover { background: #1e1e1e; }
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.service-card:hover::after { width: 100%; }

.service-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
}
.service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.service-icon svg {
  width: 100%; height: 100%;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.2;
  opacity: 0.7;
  transition: opacity 0.3s, stroke 0.3s;
}
.service-card:hover .service-icon svg { opacity: 1; stroke: var(--accent); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1;
}
.service-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 360px;
}
.service-arrow {
  position: absolute;
  bottom: 40px; right: 40px;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover .service-arrow { border-color: var(--accent); background: var(--accent); }
.service-arrow svg {
  width: 14px; height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}
.service-card:hover .service-arrow svg { stroke: #fff; }

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.news-card {
  background: var(--panel);
  padding: 40px;
  cursor: pointer;
  transition: background 0.3s;
}
.news-card:hover { background: #1e1e1e; }
.news-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.news-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.news-excerpt {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}
.news-date {
  font-size: 0.72rem;
  color: #444;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ABOUT STRIP */
.about-strip {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.about-left {
  padding: 72px 64px;
  border-right: 1px solid var(--border);
}
.about-right {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-right p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}
.about-right p:last-of-type { margin-bottom: 32px; }

/* CTA SECTION */
.cta-section {
  padding: 120px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(225,6,0,0.07) 0%, transparent 70%);
}
.cta-section .section-title { margin-bottom: 20px; position: relative; }
.cta-section > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-section .btn-primary { position: relative; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding-top: 68px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  padding: 80px 64px 72px;
}
.page-hero .section-eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.page-hero p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

/* FOOTER */
footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 48px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.75rem; color: #3a3a3a; letter-spacing: 0.05em; }

/* GRID OVERLAY (placeholder panels) */
.grid-bg {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--panel);
  opacity: 0.9;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.6s 0.0s ease both; }
.anim-2 { animation: fadeUp 0.6s 0.1s ease both; }
.anim-3 { animation: fadeUp 0.6s 0.2s ease both; }
.anim-4 { animation: fadeUp 0.6s 0.3s ease both; }

/* SERVICE BLOCKS (services page) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  min-height: 500px;
}
.service-block:first-of-type { border-top: 1px solid var(--border); }
.sb-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sb-img {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.service-block.reverse .sb-text { order: 2; }
.service-block.reverse .sb-img { order: 1; border-left: none; border-right: 1px solid var(--border); }

.sb-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}
.sb-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.sb-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}
.sb-includes-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  margin-top: 8px;
}
.sb-list { list-style: none; margin-bottom: 36px; }
.sb-list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  background: var(--accent);
  flex-shrink: 0;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-form-col {
  padding: 72px 64px;
  border-right: 1px solid var(--border);
  background: var(--panel);
}
.contact-info-col {
  padding: 72px 56px;
  background: var(--panel);
}
.contact-info-col h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.contact-info-col > p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.form-block-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--bg);
  padding-right: 40px;
  cursor: pointer;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); margin-top: 32px; }
.cd-icon { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 2px; }
.cd-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.cd-value { font-size: 0.9rem; color: var(--text); }

.contact-note {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.contact-note p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.contact-note p:last-child { margin-bottom: 0; }

.cta-strip {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 64px;
  text-align: center;
}
.cta-strip p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-strip p span { color: var(--text); }

/* VALUES (about page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-card {
  background: var(--panel);
  padding: 56px 48px;
}
.value-icon {
  width: 40px; height: 40px;
  margin-bottom: 24px;
}
.value-icon svg {
  width: 100%; height: 100%;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.3;
}
.value-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.value-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

/* BIO */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 560px;
}
.bio-img {
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-img svg { width: 80px; height: 80px; stroke: var(--border); fill: none; stroke-width: 1; }
.bio-text {
  padding: 72px 64px;
  background: var(--panel);
}
.bio-text p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}
.qual-list { margin: 28px 0 36px; }
.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.qual-item:first-child { border-top: 1px solid var(--border); }
.qual-dot { width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; margin-top: 7px; }
.qual-text { font-size: 0.88rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block .sb-img { min-height: 240px; border-left: none; border-top: 1px solid var(--border); }
  .service-block.reverse .sb-text { order: 1; }
  .service-block.reverse .sb-img { order: 2; border-right: none; border-top: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { border-right: none; border-bottom: 1px solid var(--border); }
  .about-strip { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1px solid var(--border); }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-img { min-height: 220px; border-right: none; border-bottom: 1px solid var(--border); }
  .values-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    padding: 28px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-toggle { display: flex; }

  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }

  .section { padding: 64px 24px; }
  .page-hero-inner { padding: 56px 24px 48px; }
  .about-left, .about-right { padding: 48px 24px; }
  .sb-text { padding: 48px 24px; }
  .contact-form-col { padding: 48px 24px; }
  .contact-info-col { padding: 48px 24px; }
  .bio-text { padding: 48px 24px; }
  .value-card { padding: 40px 28px; }
  footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .cta-section { padding: 80px 24px; }
  .cta-strip { padding: 28px 24px; }
}
