/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f1419;
  --bg-alt: #1a222d;
  --surface: #243040;
  --text: #e8eef4;
  --text-muted: #9aadb8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #2d3a4a;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px;
  letter-spacing: -0.5px;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.logo-text small {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #111 !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.25s;
}

/* Hero */
.hero {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.12), transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-inner {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* Services */
.services {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 750;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.9rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
}

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

/* About */
.about {
  padding: 5rem 0;
}

.about-inner {
  max-width: 680px;
}

.about h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 750;
  margin-bottom: 1.25rem;
}

.about p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about .btn {
  margin-top: 1.25rem;
}

/* Contact */
.contact {
  padding: 4rem 0 5rem;
  background: var(--bg-alt);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 1.9rem;
  font-weight: 750;
  margin-bottom: 0.6rem;
}

.contact-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.phone-link {
  display: inline-block;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.phone-link:hover {
  color: var(--accent-hover);
}

.location {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem !important;
}

.hours {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer a {
  font-weight: 600;
  color: var(--text);
}

.footer a:hover {
  color: var(--accent);
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 80%);
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.75rem 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 110;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .services, .about, .contact {
    padding: 3.5rem 0;
  }

  .contact-card {
    padding: 2.25rem 1.5rem;
  }
}
