/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;
  --blue-900: #1e3a8a;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --green:    #16a34a;
  --red:      #dc2626;
  --yellow:   #d97706;
  --white:    #ffffff;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 8px 40px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hide-mobile { display: inline; }
.show-mobile { display: none; }

@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .show-mobile { display: inline; }
}

/* ── Topbar ───────────────────────────────────────────────────────────── */
.topbar {
  background: var(--blue-900);
  color: #bfdbfe;
  text-align: center;
  padding: 6px 1rem;
  font-size: 13px;
}
.topbar .stars { color: #fbbf24; margin-right: 4px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  background: var(--blue-700);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-sub  { font-size: 11px; color: #bfdbfe; font-weight: 500; }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-700);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: background 0.2s;
}
.btn-call:hover { background: var(--blue-50); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  width: 100%;
}
.btn-danger:hover { background: #b91c1c; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
  color: var(--white);
  padding: 4rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: #fde68a; }

.hero p {
  font-size: 1.15rem;
  color: #bfdbfe;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 13px;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badges .icon { color: #fde68a; font-size: 16px; }

/* ── Lead Form Card ───────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  color: var(--gray-900);
}
.form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-card .form-sub {
  color: var(--gray-500);
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }

.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 10px;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.visible { display: block; }
.form-success .check { font-size: 3.5rem; margin-bottom: 0.75rem; }
.form-success h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-500); font-size: 14px; }

/* Server error */
.server-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--red);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 10px;
}
.server-error.visible { display: block; }

/* ── Trust Bar ────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}
.trust-item .num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-600);
  line-height: 1;
}
.trust-item .label {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ── Section ──────────────────────────────────────────────────────────── */
.section {
  padding: 4rem 0;
}
.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
}

/* ── Services Grid ────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-card .icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-card p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── CTA Banner ───────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--red);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-banner p  { color: #fecaca; margin-bottom: 1.5rem; font-size: 15px; }
.btn-call-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--red);
  font-weight: 800;
  font-size: 1.2rem;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-call-big:hover { background: #fef2f2; }

/* ── How It Works ─────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.steps h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.steps p  { font-size: 13px; color: var(--gray-500); }

/* ── Testimonials ─────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.stars-row { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-card blockquote {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-card .reviewer-name { font-weight: 700; font-size: 13px; }
.testimonial-card .reviewer-area { font-size: 12px; color: var(--gray-400); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-item h3::before {
  content: '✓';
  color: var(--blue-500);
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  padding-left: 24px;
}

/* ── Bottom Form ──────────────────────────────────────────────────────── */
.bottom-form-section {
  background: var(--blue-50);
  padding: 4rem 0;
}
.bottom-form-inner {
  max-width: 640px;
  margin: 0 auto;
}
.bottom-form-inner .form-card { box-shadow: var(--shadow-lg); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h3 {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 0.75rem;
}
.site-footer p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
}
.footer-phone {
  display: inline-block;
  margin-top: 0.75rem;
  color: #60a5fa;
  font-weight: 700;
  font-size: 14px;
}
.footer-phone:hover { color: #93c5fd; }
.site-footer ul li {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 4px;
}
.site-footer ul li a { color: #9ca3af; transition: color 0.2s; }
.site-footer ul li a:hover { color: #60a5fa; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}
.footer-bottom a { color: #6b7280; margin-left: 8px; }
.footer-bottom a:hover { color: #9ca3af; }

/* ── Location page specific ───────────────────────────────────────────── */
.checklist { max-width: 640px; margin: 0 auto; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  padding: 8px 0;
}
.checklist li::before {
  content: '✓';
  color: var(--blue-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Admin ────────────────────────────────────────────────────────────── */
.admin-wrap { min-height: 100vh; background: var(--gray-100); padding: 2rem 1rem; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  background: var(--gray-50);
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.admin-table tr:hover td { background: var(--gray-50); }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge-new       { background: #dbeafe; color: #1e40af; }
.badge-contacted { background: #fef9c3; color: #92400e; }
.badge-sold      { background: #dcfce7; color: #166534; }
.badge-closed    { background: var(--gray-100); color: var(--gray-500); }

/* ── Login ────────────────────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 360px;
}
.login-card h1 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
