/* ==============================================
   Rank & Route Local SEO — White Theme Stylesheet
   Clean, fast, conversion-focused.
   ============================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #fff;
  color: #222;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 20px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- NAV ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 15px 0; border-bottom: 2px solid #f0f0f0; margin-bottom: 0;
  position: sticky; top: 0; background: #fff; z-index: 100;
}
.nav-logo { font-size: 1.15rem; font-weight: 700; color: #1a1a2e; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a { text-decoration: none; color: #444; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: #c41230; }
.nav-phone { font-size: 1.15rem; font-weight: 700; color: #c41230; text-decoration: none; white-space: nowrap; }

/* Dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-content {
  display: none; position: absolute; background: #fff; min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1); border-radius: 6px; padding: 8px 0; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-content { display: block; }
.nav-dropdown-content a {
  display: block; padding: 8px 16px; color: #444; font-size: 0.9rem; text-decoration: none;
}
.nav-dropdown-content a:hover { background: #f5f5f5; color: #c41230; }

/* ---------- HERO (two-column: text + form) ---------- */
.hero-with-form {
  display: flex; align-items: center; gap: 40px;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('images/cary-real-2.webp') center/cover no-repeat;
  padding: 45px 30px; border-radius: 8px;
  margin-top: 20px; margin-bottom: 40px;
  position: relative;
}
.hero-left { flex: 1; min-width: 0; }
.hero-left h1 {
  font-size: 2rem; font-weight: 700; line-height: 1.25; color: #fff; margin-bottom: 10px; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin-bottom: 18px; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.hero-badge {
  background: #e8f5e9; color: #2e7d32; padding: 6px 14px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.hero-form-box {
  flex: 0 0 360px; background: #fff; padding: 25px; border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08); border: 1px solid #e5e5e5;
}
.hero-form-box h3 { text-align: center; margin-bottom: 5px; font-size: 1.15rem; }
.hero-form-box p { text-align: center; font-size: 0.85rem; color: #777; margin-bottom: 15px; }
.hero-form-box input, .hero-form-box select {
  width: 100%; padding: 10px 12px; margin-bottom: 10px; border: 1px solid #ccc;
  border-radius: 4px; font-size: 0.95rem; font-family: inherit;
}
.hero-form-box button {
  width: 100%; padding: 12px; background: #c41230; color: #fff; border: none;
  border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer;
}
.hero-form-box button:hover { background: #a00e28; }

/* ---------- SECTIONS ---------- */
section { margin-bottom: 50px; }
h2 {
  font-size: 1.6rem; font-weight: 700; color: #1a1a2e; margin-bottom: 16px;
  border-bottom: 3px solid #c41230; padding-bottom: 8px; display: inline-block;
}
h3 { font-size: 1.15rem; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }

/* ---------- CARD GRIDS ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 20px;
}
.card {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 20px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.card img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 0.9rem; color: #555; margin-bottom: 10px; }
.card .btn { display: inline-block; color: #c41230; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.card .btn:hover { text-decoration: underline; }

/* USPs */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.usp-card { text-align: center; padding: 20px; background: #f8fafc; border-radius: 8px; }
.usp-card h3 { font-size: 1rem; margin-bottom: 5px; }
.usp-card p { font-size: 0.85rem; color: #666; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff; padding: 16px 20px; border-radius: 6px; margin-bottom: 10px;
  border: 1px solid #e5e5e5; cursor: pointer;
}
.faq-item summary { font-weight: 600; font-size: 1.05rem; }
.faq-item p { margin-top: 10px; color: #555; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta-bottom {
  background: #1a1a2e; color: #fff; text-align: center; padding: 40px 20px;
  border-radius: 8px; margin-top: 40px;
}
.cta-bottom h2 { color: #fff; border: none; }
.cta-bottom .cta-phone {
  display: inline-block; background: #c41230; color: #fff; padding: 14px 36px;
  border-radius: 6px; font-size: 1.2rem; font-weight: 700; text-decoration: none; margin-top: 12px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #1a1a2e; color: #ccc; padding: 40px 20px 20px; margin-top: 40px;
  border-radius: 8px 8px 0 0;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.footer-col { flex: 1; min-width: 160px; font-size: 0.9rem; line-height: 1.8; }
.footer-col strong { color: #fff; display: block; margin-bottom: 8px; }
.footer-col a { color: #aaa; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-map iframe { border-radius: 6px; }
.footer-bottom {
  text-align: center; padding-top: 20px; margin-top: 20px;
  border-top: 1px solid #333; font-size: 0.85rem; color: #888;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero-with-form { flex-direction: column; padding: 30px 20px; }
  .hero-form-box { flex: 0 0 auto; width: 100%; max-width: 400px; }
  .nav { flex-direction: column; gap: 10px; }
  .nav-links { flex-wrap: wrap; gap: 10px; }
  h1 { font-size: 1.5rem !important; }
}
