/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #f8f9fb;
  color: #1a1a2e;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ========== VARIABLES ========== */
:root {
  --orange: #FF5A1F;
  --orange-light: #FF7A45;
  --orange-pale: #FFF0EB;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(255,90,31,0.15);
}

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

/* ========== NAVBAR ========== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon {
  width: 38px; height: 38px; background: var(--orange);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 20px; font-weight: 900; color: white;
}
.logo-icon .logo-d { font-size: 20px; font-weight: 900; color: white; line-height: 1; }
.logo-icon .logo-pin { position: absolute; font-size: 10px; top: 4px; right: 3px; }
.logo-icon.small { width: 30px; height: 30px; border-radius: 8px; }
.logo-icon.small .logo-d { font-size: 16px; }
.logo-icon.small .logo-pin { font-size: 8px; top: 3px; right: 2px; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.btn-outline {
  border: 2px solid var(--orange); color: var(--orange) !important;
  padding: 7px 18px; border-radius: 8px; font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--orange); color: white !important; }
.hamburger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 14px;
  padding: 16px 20px; border-top: 1px solid var(--border);
  background: white;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--gray); }
.mobile-menu a:hover { color: var(--orange); }
.btn-primary-small {
  background: var(--orange); color: white !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600;
  text-align: center;
}

/* ========== ADS SECTION ========== */
.ads-section {
  background: white;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ads-label {
  font-size: 11px; font-weight: 700; color: #adb5bd;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 10px;
}
.ads-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}
.ad-card {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafafa;
  position: relative;
  transition: all 0.2s;
}
.ad-card:hover {
  border-color: var(--orange);
  background: var(--orange-pale);
}
.ad-badge {
  position: absolute; top: 8px; right: 10px;
  font-size: 10px; font-weight: 700; color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(255,90,31,0.2);
  padding: 2px 7px; border-radius: 50px;
  letter-spacing: 0.5px;
}
.ad-content {
  display: flex; align-items: center; gap: 14px;
}
.ad-content-v {
  flex-direction: column; align-items: flex-start; gap: 6px;
}
.ad-icon { font-size: 30px; flex-shrink: 0; }
.ad-text { flex: 1; }
.ad-name { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.ad-tagline { font-size: 12px; color: var(--gray); }
.ad-cta-btn {
  background: var(--orange); color: white;
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: all 0.2s;
  flex-shrink: 0;
}
.ad-cta-btn:hover { background: var(--orange-light); }

@media (max-width: 768px) {
  .ads-grid { grid-template-columns: 1fr; }
  .ad-large .ad-content { flex-direction: column; align-items: flex-start; }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #fff8f5 0%, #fff 60%, #fff0eb 100%);
  padding: 80px 0 70px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,90,31,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { text-align: center; position: relative; }
.hero-badge {
  display: inline-block;
  background: var(--orange-pale); color: var(--orange);
  border: 1px solid rgba(255,90,31,0.2);
  padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 62px); font-weight: 800;
  color: var(--dark); line-height: 1.15; margin-bottom: 16px;
}
.highlight { color: var(--orange); }
.hero-sub { font-size: 17px; color: var(--gray); max-width: 500px; margin: 0 auto 36px; }

/* Search */
.search-bar {
  display: flex; max-width: 640px; margin: 0 auto 40px;
  background: white; border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  overflow: hidden;
}
.search-input-wrap {
  flex: 1; display: flex; align-items: center; padding: 0 16px; gap: 10px;
}
.search-icon { font-size: 18px; }
.search-bar input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: var(--dark); padding: 16px 0;
  font-family: 'Inter', sans-serif;
}
.search-bar input::placeholder { color: #adb5bd; }
.search-btn {
  background: var(--orange); color: white;
  border: none; padding: 0 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.2s; font-family: 'Inter', sans-serif;
}
.search-btn:hover { background: var(--orange-light); }

/* Stats */
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 26px; font-weight: 800; color: var(--orange); }
.stat span { font-size: 13px; color: var(--gray); font-weight: 500; }

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.section-header p { font-size: 15px; color: var(--gray); }

/* ========== CATEGORIES ========== */
.categories-section { padding: 70px 0; background: white; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 24px 16px;
  border-radius: 16px; border: 1.5px solid var(--border);
  background: white; cursor: pointer;
  transition: all 0.2s;
}
.cat-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.cat-icon { font-size: 32px; }
.cat-card span { font-size: 13px; font-weight: 600; color: var(--dark); text-align: center; }

/* ========== BUSINESSES ========== */
.businesses-section { padding: 70px 0; }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  padding: 8px 20px; border-radius: 50px;
  border: 1.5px solid var(--border); background: white;
  font-size: 13px; font-weight: 600; color: var(--gray);
  cursor: pointer; transition: all 0.2s;
}
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab.active { background: var(--orange); border-color: var(--orange); color: white; }

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Business Card */
.biz-card {
  background: white; border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden; transition: all 0.25s;
  cursor: pointer;
}
.biz-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(255,90,31,0.2);
}
.biz-card-header {
  height: 90px; display: flex; align-items: center; justify-content: center;
  font-size: 42px; position: relative;
  overflow: hidden;
}
.biz-card-body { padding: 18px; }
.biz-category-badge {
  display: inline-block;
  background: var(--orange-pale); color: var(--orange);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
  text-transform: uppercase;
}
.biz-name { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.biz-desc { font-size: 13px; color: var(--gray); margin-bottom: 14px; line-height: 1.5; }
.biz-meta { display: flex; flex-direction: column; gap: 6px; }
.biz-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray);
}
.biz-meta-item .meta-icon { font-size: 14px; flex-shrink: 0; }
.biz-card-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.biz-btn {
  flex: 1; padding: 9px; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.biz-btn.primary { background: var(--orange); color: white; }
.biz-btn.primary:hover { background: var(--orange-light); }
.biz-btn.secondary { background: var(--light-gray); color: var(--dark); }
.biz-btn.secondary:hover { background: var(--border); }

.no-results { text-align: center; padding: 60px; color: var(--gray); font-size: 16px; }

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  padding: 60px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-text h2 { font-size: 30px; font-weight: 800; color: white; margin-bottom: 8px; }
.cta-text p { font-size: 15px; color: rgba(255,255,255,0.85); }
.btn-cta {
  background: white; color: var(--orange);
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

/* ========== CONTACT ========== */
.contact-section { padding: 70px 0; background: white; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.contact-info p { color: var(--gray); font-size: 15px; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray); }
.ci-icon { font-size: 20px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-group input, .form-group textarea {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; outline: none;
  transition: border-color 0.2s; font-family: 'Inter', sans-serif;
  color: var(--dark);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; }
.btn-submit {
  background: var(--orange); color: white;
  border: none; border-radius: 10px;
  padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.btn-submit:hover { background: var(--orange-light); transform: translateY(-1px); }
.form-success {
  text-align: center; color: #16a34a;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 12px;
  font-size: 14px; font-weight: 600;
}

/* ========== FOOTER ========== */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo .logo-text { color: white; }
.footer-logo p { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding: 20px 20px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  max-width: 1200px; margin: 0 auto;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 50px 0 50px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 24px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
  .search-btn { padding: 14px; }
}
