* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text span {
  color: #6b7280;
  font-size: 13px;
}

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section-head h2 {
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  max-width: 720px;
}

.lead {
  font-size: 18px;
  color: #4b5563;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.point {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.section {
  padding: 72px 0;
}

.section.light {
  background: #f9fafb;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.section-head p {
  color: #6b7280;
  font-size: 17px;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.step,
.pricing-card,
.form-wrap,
.table-wrap,
.login-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.04);
}

.card {
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 24px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 10px;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
}

.pricing-left,
.pricing-right {
  padding: 32px;
}

.pricing-left {
  border-right: 1px solid #e5e7eb;
}

.pricing-left ul {
  padding-left: 18px;
  margin: 0;
}

.price-badge {
  display: inline-block;
  margin-bottom: 12px;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
}

.form-wrap {
  padding: 28px;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.field label {
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  outline: none;
  font-size: 15px;
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: #fff;
  color: #111827;
  border-color: #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-full {
  width: 100%;
}

.alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-body {
  background: #f5f7fb;
}

.admin-top {
  background: #111827;
  color: #fff;
  padding: 18px 0;
}

.admin-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-wrap {
  padding: 20px;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.table th {
  background: #f9fafb;
  font-size: 13px;
  text-transform: uppercase;
  color: #6b7280;
}

.status-new {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eff6ff, #f8fafc);
}

.login-box {
  width: min(460px, calc(100% - 24px));
  padding: 28px;
}

.login-box h1 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* ===== Added map styles ===== */

.hero-map-bg {
  background:
    linear-gradient(180deg, rgba(248,251,255,0.96) 0%, rgba(255,255,255,1) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(37,99,235,0.03) 0,
      rgba(37,99,235,0.03) 20px,
      rgba(255,255,255,0.03) 20px,
      rgba(255,255,255,0.03) 40px
    );
}

.map-ui {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

.map-topbar {
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
  color: #334155;
}

.map-canvas {
  position: relative;
  height: 230px;
  background:
    linear-gradient(90deg, rgba(37,99,235,0.08) 1px, transparent 1px),
    linear-gradient(rgba(37,99,235,0.08) 1px, transparent 1px),
    #eef6ff;
  background-size: 40px 40px;
  overflow: hidden;
}

.map-route {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(16,185,129,0.15), transparent 18%),
    radial-gradient(circle at 80% 60%, rgba(245,158,11,0.15), transparent 18%),
    radial-gradient(circle at 55% 40%, rgba(239,68,68,0.10), transparent 18%);
}

.map-pin {
  position: absolute;
  font-size: 28px;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.12));
}

.map-pin.active {
  transform: scale(1.18);
}

.pin-1 { top: 34px; left: 60px; }
.pin-2 { top: 110px; left: 130px; }
.pin-3 { top: 80px; right: 95px; }
.pin-4 { bottom: 28px; right: 55px; }

.map-results {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
}

.map-result {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.map-result.active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.map-result small {
  display: block;
  margin-top: 4px;
  color: #64748b;
}

#phone-fields {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .hero-grid,
  .pricing-card,
  .cards.three,
  .steps,
  .grid.two,
  #phone-fields {
    grid-template-columns: 1fr;
  }

  .pricing-left {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}