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

:root {
  --bg: #0a0f1a;
  --surface: #111827;
  --surface2: #1a2235;
  --border: #1e2d45;
  --text: #e2e8f0;
  --text-muted: #8899b4;
  --accent: #2a7fff;
  --accent-dark: #1a6fef;
  --accent-light: #60a5fa;
  --gold: #f59e0b;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── Header ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,15,26,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  transition: background 0.3s;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.logo-tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

#nav ul { display: flex; align-items: center; gap: 8px; list-style: none; }
#nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s;
}
#nav a:hover, #nav a.active { color: var(--text); }
#nav a.nav-cta {
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 8px 18px;
  transition: background 0.2s;
}
#nav a.nav-cta:hover { background: var(--accent-dark); }
#nav a.nav-cta.active { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0f1a 0%, #0f1e38 50%, #0a1628 100%);
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(42,127,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(245,158,11,0.06) 0%, transparent 60%);
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,127,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,127,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 32px 80px 10%;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #fff;
}

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

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Services ── */
.services { padding: 100px 0; }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #0f1e38, #0a1628);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(42,127,255,0.1) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-banner p { color: var(--text-muted); margin-bottom: 36px; font-size: 1rem; }

/* ── Page Hero ── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 32px 80px;
  background: linear-gradient(135deg, #0a0f1a 0%, #0f1e38 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(42,127,255,0.1) 0%, transparent 70%);
}
.page-hero-overlay { display: none; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero p { color: var(--text-muted); font-size: 1rem; }

/* ── About ── */
.about-section { padding: 80px 0; }

.about-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.about-intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-intro p { color: var(--text-muted); font-size: 1rem; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.principle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  transition: border-color 0.3s;
}
.principle-card:hover { border-color: var(--accent); }

.principle-icon {
  width: 44px;
  height: 44px;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.principle-icon svg { width: 100%; height: 100%; }

.principle-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.principle-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.service-areas {
  text-align: center;
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.service-areas h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.areas-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.area-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}
.area-item svg { width: 22px; height: 22px; color: var(--accent-light); flex-shrink: 0; }

.about-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.about-cta p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Forms ── */
.contact-section, .quote-section { padding: 80px 0; }

.contact-grid, .quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2, .quote-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 40px; }

.contact-items { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item svg { width: 22px; height: 22px; color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-item a, .contact-item span { font-size: 0.95rem; color: var(--text); }
.contact-item a:hover { color: var(--accent-light); }

.form { display: flex; flex-direction: column; gap: 20px; }

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

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--accent-light); }
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #4a5a72; }

.checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
}
.checkbox-label input[type=checkbox] {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-status {
  font-size: 0.88rem;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 4px;
}
.form-status.success { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.form-status.error { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }

/* ── Quote steps ── */
.quote-steps { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.quote-steps li { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quote-steps strong { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.quote-steps p { font-size: 0.88rem; color: var(--text-muted); }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 32px 32px;
  position: relative;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo { display: flex; flex-direction: column; gap: 4px; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-social a {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--accent-light); }

.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

.scroll-top {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top:hover { color: var(--text); border-color: var(--accent); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  #nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  #nav.open { display: block; }
  #nav ul { flex-direction: column; gap: 4px; }
  #nav a { display: block; padding: 12px 16px; }
  #nav a.nav-cta { text-align: center; margin-top: 8px; }

  .hero-content { padding: 60px 24px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }

  .contact-grid, .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .checkboxes { grid-template-columns: 1fr; }

  .header-inner { padding: 0 24px; position: relative; }
  #header { position: fixed; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .scroll-top { bottom: 16px; right: 16px; }
}
