/* ── Astra Removals Design System ─────────────────────────────── */
/* Light mode, mobile-first, clean and professional */

:root {
  --primary: #8abd82;
  --primary-hover: #78ab70;
  --primary-light: rgba(138,189,130,0.12);
  --secondary: #829da8;
  --secondary-hover: #708b96;
  --bg: #ffffff;
  --bg-alt: #f8faf7;
  --bg-card: #ffffff;
  --text: #333333;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --warning: #f59e0b;
  --info: #3b82f6;
  --success: #10b981;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --sidebar-w: 240px;
  --nav-h: 64px;
  --max-w: 1200px;
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--primary-hover); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style-position: inside; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); font-weight: 700; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }

/* ── Container ──────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-size: 1rem;
  font-weight: 600; border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-white:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--bg-alt); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); font-weight: 600; font-size: 1.1rem; }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border-light); background: var(--bg-alt); }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.925rem; color: var(--text); }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; background: var(--bg);
  color: var(--text); transition: border-color var(--transition);
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input[type="checkbox"], .form-check input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }

/* ── Navigation ─────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border); height: var(--nav-h);
}
.navbar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar-logo img { height: 40px; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.navbar-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.navbar-links a:hover, .navbar-links a.active { color: var(--primary); }
.navbar-phone { display: flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.navbar-cta { display: flex; align-items: center; gap: 16px; }
.navbar-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); padding: 8px; }

/* Mobile nav */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 99; padding: 20px; overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 1.1rem; color: var(--text);
  border-bottom: 1px solid var(--border-light); font-weight: 500;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 16px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e8f0e6 100%);
  padding: 80px 0;
}
.hero-content { max-width: 700px; }
.hero h1 { font-size: 2.75rem; margin-bottom: 16px; line-height: 1.15; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.hero .btn { margin-right: 12px; margin-bottom: 12px; }
.hero-badge { display: inline-block; background: var(--primary-light); color: var(--primary-hover); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }

/* ── Trust Bar ──────────────────────────────────────────────────── */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 40px 0;
}
.trust-item { text-align: center; }
.trust-icon { font-size: 2rem; margin-bottom: 8px; color: var(--primary); }
.trust-label { font-weight: 600; font-size: 0.95rem; }
.trust-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ── Service Tiles ──────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-tile {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: all var(--transition);
  text-decoration: none; color: var(--text);
}
.service-tile:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); color: var(--text); }
.service-tile .icon { font-size: 2.5rem; margin-bottom: 16px; color: var(--primary); }
.service-tile h3 { margin-bottom: 8px; font-size: 1.15rem; }
.service-tile p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* ── How It Works ───────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative;
}
.testimonial-stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; color: var(--text); }
.testimonial-author { font-weight: 600; }
.testimonial-location { color: var(--text-muted); font-size: 0.85rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 0;
  font-size: 1.05rem; font-weight: 600; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-family: inherit;
}
.faq-question:hover { color: var(--primary); }
.faq-question .arrow { transition: transform var(--transition); font-size: 1.2rem; }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; color: var(--text-muted); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }

/* ── Coverage Map ───────────────────────────────────────────────── */
.coverage-areas {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.coverage-tag {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 16px; text-align: center; font-size: 0.9rem; font-weight: 500;
}

/* ── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #8abd82 0%, #6ba563 100%);
  padding: 60px 0; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 1.1rem; }
.cta-section .btn-white { color: var(--primary-hover); }
.cta-section .btn-white:hover { background: #f0f0f0; }

/* ── Trust Bar (site-wide, above footer) ────────────────────────── */
.trust-bar { background: #f0f7ee; border-top: 1px solid #d5e8cf; border-bottom: 1px solid #d5e8cf; padding: 28px 0; }
.trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { color: #8abd82; flex-shrink: 0; }
.trust-num { font-size: 1rem; font-weight: 700; color: #333; line-height: 1.2; }
.trust-lbl { font-size: 0.8rem; color: #666; line-height: 1.3; margin-top: 2px; }
@media (max-width: 900px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 500px) {
  .trust-bar-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer { background: #2d3436; color: #dfe6e9; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer a { color: #b2bec3; font-size: 0.9rem; }
.footer a:hover { color: var(--primary); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; color: #b2bec3; margin-bottom: 16px; }
.footer-contact { font-size: 0.9rem; }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: #636e72;
}
.footer-bottom a { color: #636e72; margin-left: 16px; }
.footer-bottom a:hover { color: var(--primary); }

/* ── Tables ─────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { font-weight: 600; background: var(--bg-alt); color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.table tr:hover { background: var(--bg-alt); }

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.badge-green { background: rgba(16,185,129,0.1); color: #059669; }
.badge-yellow { background: rgba(245,158,11,0.1); color: #d97706; }
.badge-red { background: rgba(239,68,68,0.1); color: #dc2626; }
.badge-blue { background: rgba(59,130,246,0.1); color: #2563eb; }
.badge-muted { background: var(--bg-alt); color: var(--text-muted); }

/* ── Stats Grid ─────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.stat-value { font-size: 2rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Alerts ─────────────────────────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.925rem; }
.alert-info { background: rgba(59,130,246,0.08); color: #1d4ed8; border: 1px solid rgba(59,130,246,0.2); }
.alert-success { background: rgba(16,185,129,0.08); color: #047857; border: 1px solid rgba(16,185,129,0.2); }
.alert-warning { background: rgba(245,158,11,0.08); color: #b45309; border: 1px solid rgba(245,158,11,0.2); }
.alert-danger { background: rgba(239,68,68,0.08); color: #b91c1c; border: 1px solid rgba(239,68,68,0.2); }

/* ── Price Display ──────────────────────────────────────────────── */
.price-display { text-align: center; padding: 32px; }
.price-amount { font-size: 2.5rem; font-weight: 700; color: var(--primary-hover); }
.price-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.price-range { font-size: 1.1rem; color: var(--text-muted); }

/* ── Detail List ────────────────────────────────────────────────── */
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.detail-key { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.detail-val { font-weight: 600; }

/* ── Quote Progress Bar ─────────────────────────────────────────── */
.progress-bar-wrap { background: var(--border); border-radius: 10px; height: 6px; margin-bottom: 32px; }
.progress-bar-fill { background: var(--primary); height: 100%; border-radius: 10px; transition: width 0.4s ease; }
.progress-steps { display: flex; justify-content: space-between; margin-bottom: 8px; }
.progress-step { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.progress-step.active { color: var(--primary); font-weight: 700; }
.progress-step.done { color: var(--success); }

/* ── Admin Sidebar ──────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: var(--sidebar-w); background: #2d3436; color: #dfe6e9;
  padding: 20px 0; position: fixed; top: 0; bottom: 0; left: 0;
  overflow-y: auto; z-index: 50;
}
.admin-sidebar-logo { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.admin-sidebar-logo img { height: 32px; }
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; color: #b2bec3; font-size: 0.925rem; font-weight: 500;
  transition: all var(--transition); text-decoration: none;
}
.admin-sidebar a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-sidebar a.active { background: rgba(138,189,130,0.15); color: var(--primary); border-right: 3px solid var(--primary); }
.admin-main { flex: 1; margin-left: var(--sidebar-w); padding: 32px; background: var(--bg-alt); min-height: 100vh; }
.admin-header { margin-bottom: 32px; }
.admin-header h1 { font-size: 1.75rem; }
.admin-header p { color: var(--text-muted); }
.admin-bottom-nav { display: none; }

/* ── Utilities ──────────────────────────────────────────────────── */
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }  .mt-3 { margin-top: 24px; }  .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }  .mb-2 { margin-bottom: 16px; }  .mb-3 { margin-bottom: 24px; }  .mb-4 { margin-bottom: 32px; }
.p-2 { padding: 16px; }  .p-3 { padding: 24px; }
.d-flex { display: flex; }  .flex-between { display: flex; justify-content: space-between; align-items: center; }  .flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; }  .gap-3 { gap: 24px; }
.text-muted { color: var(--text-muted); }  .text-primary { color: var(--primary); }  .text-danger { color: var(--danger); }  .text-success { color: var(--success); }
.text-center { text-align: center; }  .text-sm { font-size: 0.875rem; }  .text-lg { font-size: 1.125rem; }
.fw-600 { font-weight: 600; }  .fw-700 { font-weight: 700; }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s ease; }
.slide-up { animation: slideUp 0.5s ease; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-areas { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .coverage-areas { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .navbar-links { display: none; }
  .navbar-phone { display: none; }
  .navbar-toggle { display: block; }
  /* Admin */
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 20px 16px 80px; }
  .admin-bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border); z-index: 50;
    justify-content: space-around; padding: 8px 0;
  }
  .admin-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 0.7rem; color: var(--text-muted); text-decoration: none; padding: 4px 8px;
  }
  .admin-bottom-nav a.active { color: var(--primary); }
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}
