/* ===== whatdentist.com.mx — Dental Directory ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #06b6d4;
  --dark: #0f172a;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --green: #10b981;
  --gold: #f59e0b;
  --max-width: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--dark); line-height: 1.6; background: var(--light-gray); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

header { background: var(--white); border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; max-width: var(--max-width); margin: 0 auto; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 24px; list-style: none; }
nav a { font-size: 0.95rem; font-weight: 600; color: var(--dark); }
nav a:hover { color: var(--primary); }
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.hero { background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); color: var(--white); padding: 60px 20px; text-align: center; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 24px; opacity: 0.95; }
.search-bar { display: flex; gap: 12px; max-width: 600px; margin: 24px auto 0; }
.search-bar input, .search-bar select { padding: 14px; border: none; border-radius: 8px; font-size: 1rem; flex: 1; }
.search-bar button { background: var(--gold); color: var(--white); border: none; padding: 14px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; }

section { padding: 48px 0; }
section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 24px; }

.dentist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.dentist-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s; }
.dentist-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.dentist-card img { width: 100%; height: 240px; object-fit: cover; }
.dentist-card .badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin: 12px 12px 0; }
.badge-featured { background: #fef3c7; color: #92400e; }
.badge-verified { background: #dbeafe; color: #1e40af; }
.badge-pending { background: #f1f5f9; color: #64748b; }
.dentist-card h3 { font-size: 1.2rem; margin: 8px 12px; }
.dentist-card .specialty { color: var(--gray); font-size: 0.9rem; margin: 0 12px 8px; }
.dentist-card .rating { margin: 0 12px 8px; font-weight: 700; color: var(--gold); }
.dentist-card .city { color: var(--gray); font-size: 0.9rem; margin: 0 12px 12px; }
.dentist-card .actions { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #f1f5f9; }
.dentist-card .actions a { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pricing-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px 24px; text-align: center; }
.pricing-card.featured { border-color: var(--primary); border-width: 2px; position: relative; }
.pricing-card .plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; margin: 12px 0; }
.pricing-card .price span { font-size: 0.9rem; font-weight: 400; color: var(--gray); }
.pricing-card ul { list-style: none; margin: 16px 0; text-align: left; }
.pricing-card li { padding: 6px 0; color: var(--gray); }
.pricing-card li:before { content: "✓ "; color: var(--green); font-weight: 700; }

footer { background: var(--dark); color: #94a3b8; padding: 48px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: var(--max-width); margin: 0 auto; }
footer h4 { color: var(--white); margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: #94a3b8; }
.footer-bottom { text-align: center; padding-top: 24px; margin-top: 32px; border-top: 1px solid #1e293b; font-size: 0.85rem; }

.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25d366; color: var(--white); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 99; text-decoration: none; }

.cta-bar { background: var(--dark); color: var(--white); padding: 40px 20px; text-align: center; }
.cta-bar h2 { color: var(--white); }
.cta-bar a { display: inline-block; background: var(--green); color: var(--white); padding: 14px 32px; border-radius: 8px; font-weight: 700; margin-top: 16px; text-decoration: none; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; background: var(--white); }
.btn-submit { background: var(--primary); color: var(--white); padding: 14px 28px; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; width: 100%; }
.btn-submit:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
  nav ul { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .search-bar { flex-direction: column; }
  .dentist-grid { grid-template-columns: 1fr; }
}
