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

:root {
  --blue:    #1a5fa8;
  --blue-dk: #0e3d6e;
  --blue-lt: #2980d0;
  --green:   #7ab929;
  --dark:    #1a1a1a;
  --gray:    #2a2a2a;
  --gray-lt: #444;
  --text:    #e0e0e0;
  --text-md: #aaa;
  --white:   #fff;
  --radius:  8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--blue-lt); text-decoration: none; }
a:hover { color: var(--green); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--dark); }
.btn-primary:hover { background: #8cd430; color: var(--dark); }
.btn-lg { padding: 14px 36px; font-size: 1.1rem; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
  border-bottom-color: var(--gray-lt);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { height: 40px; width: auto; }
.nav-title { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: 1px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  color: var(--text); font-weight: 500; font-size: .95rem;
}
.nav-phone:hover { color: var(--green); }
.nav-cta { white-space: nowrap; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  margin-top: 64px;
  background: var(--gray);
  display: flex; justify-content: center;
}
.hero-img {
  width: 100%; max-width: 1100px;
  height: auto; display: block;
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 70px 0; }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; color: var(--text-md); max-width: 600px;
  margin: 0 auto 40px;
}

/* ── Services ────────────────────────────────────────────── */
.services { background: var(--dark); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--gray); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  border: 1px solid #333;
  transition: border-color .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--blue-lt);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
}
.service-icon svg { width: 100%; height: 100%; stroke: var(--blue-lt); }
.service-card h3 {
  font-size: 1.1rem; color: var(--white); margin-bottom: 8px;
}
.service-card p { font-size: .9rem; color: var(--text-md); line-height: 1.5; }

/* ── About ───────────────────────────────────────────────── */
.about { background: var(--gray); }
.about-content {
  max-width: 750px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
  text-align: center;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact { background: var(--dark); }
.contact-form {
  max-width: 650px; margin: 0 auto;
  background: var(--gray); padding: 32px; border-radius: var(--radius);
  border: 1px solid #333;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: .9rem; font-weight: 500; color: var(--text-md);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  background: var(--dark); border: 1px solid #444; border-radius: var(--radius);
  color: var(--text); font-size: 1rem; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue-lt);
}
.form-group textarea { resize: vertical; }

.contact-form .btn { width: 100%; margin-top: 4px; }

.form-status {
  margin-top: 12px; text-align: center; font-weight: 500; min-height: 24px;
}
.form-status.success { color: var(--green); }
.form-status.error { color: #e74c3c; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #111; border-top: 1px solid #333; padding: 36px 0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 36px; width: auto; }
.footer-brand strong { color: var(--white); font-size: 1rem; }
.footer-tagline { color: var(--text-md); font-size: .85rem; font-style: italic; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: .95rem; }
.footer-contact a { color: var(--text-md); }
.footer-contact a:hover { color: var(--green); }
.footer-copy { width: 100%; text-align: center; color: #666; font-size: .8rem; margin-top: 8px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-phone { display: none; }
  .section-title { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-contact { align-items: center; }
}
