/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #D4890A;
  --accent-light: #F0A830;
  --accent-glow: #FFBF3F;
  --bg: #1C1E22;
  --bg-raised: #2A2D33;
  --border: #3A3E46;
  --text: #E8E0D4;
  --text-muted: #9A9284;
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Bitter', serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-glow); }

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(28, 30, 34, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-brand:hover { color: var(--text); }
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-light); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--bg) 50%, var(--bg-raised) 50%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, transparent 48%, var(--accent) 48%, var(--accent) 48.4%, transparent 48.4%);
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  width: 100%;
  animation: slideUp 0.8s ease-out;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.90;
  color: var(--text);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

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

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 450px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.9rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: var(--accent-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 137, 10, 0.3);
}

.hero-cta svg {
  width: 16px; height: 16px;
  transition: transform 0.3s;
}

.hero-cta:hover svg { transform: translateX(4px); }

/* ========== SECTIONS ========== */
.section {
  padding: 6rem 2rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
  text-transform: uppercase;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ========== SERVICES ========== */
.services {
  background: var(--bg-raised);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg-raised);
  padding: 2rem 1.5rem;
  position: relative;
  transition: background 0.3s;
  cursor: default;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-card .dash-icon {
  width: 34px;
  height: 34px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 0px transparent);
}

.service-card:hover .dash-icon {
  color: var(--accent-glow);
  filter: drop-shadow(0 0 8px rgba(255, 191, 63, 0.5)) drop-shadow(0 0 20px rgba(212, 137, 10, 0.3));
}

.service-card .service-name {
  display: block;
  font-size: inherit;
  font-weight: inherit;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.service-card:hover::after { height: 100%; }
.service-card:hover { background: var(--bg); }

/* ========== CONTACT ========== */
.contact { background: var(--bg-raised); }

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
  transition: border-color 0.3s;
}

.contact-item:hover { border-left-color: var(--accent); }

.contact-item .mono-label { margin-bottom: 0.35rem; }

.contact-value {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-value a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.contact-value a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-light);
}

.map-container {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
  filter: saturate(0.3) brightness(0.8);
  transition: filter 0.4s;
}

.map-container:hover iframe {
  filter: saturate(0.6) brightness(0.9);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ========== ANIMATIONS ========== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section { padding: 4rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { white-space: normal; }
  .hero h1 .accent { display: block; }
}
