/*
Theme Name: LMB Pests
Theme URI: https://www.lmbpests.com
Author: LMB Pests
Author URI: https://www.lmbpests.com
Description: Tema profesional para LMB Pests — Control de plagas certificado en Bogotá y Cundinamarca.
Version: 1.0.0
License: Proprietary
Text Domain: lmb-pests
*/

/* ============================================================
   VARIABLES Y RESET
   ============================================================ */
:root {
  --primary:      #2a7d3f;
  --primary-dark: #1a5228;
  --accent:       #8dc63f;
  --accent-dark:  #6fa832;
  --text:         #1a1a2e;
  --text-light:   #6b7280;
  --light-bg:     #f0f7f2;
  --border:       #e5e7eb;
  --white:        #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar-brand { font-size: 1.6rem; font-weight: 900; color: white !important; letter-spacing: -0.5px; }
.navbar-brand span { color: var(--accent); }
.navbar-tagline {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none !important;
  border-left: 1px solid rgba(255,255,255,0.22);
  padding-left: 1rem;
  line-height: 1.3;
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar-tagline:hover { color: white !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }
.nav-link { color: rgba(255,255,255,0.85) !important; font-weight: 500; font-size: 0.92rem; transition: color .2s; padding: 0.5rem 0.8rem !important; }
.nav-link:hover { color: white !important; }
.dropdown-menu { border: none; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-radius: 12px; padding: 0.5rem; }
.dropdown-item { border-radius: 8px; padding: 0.5rem 1rem; font-size: 0.9rem; color: var(--text); font-weight: 500; }
.dropdown-item:hover { background: var(--light-bg); color: var(--primary); }
.btn-nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem !important;
  transition: background .2s, transform .1s !important;
}
.btn-nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

/* ============================================================
   HERO PRINCIPAL (HOMEPAGE)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; max-width: 560px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 25px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* ============================================================
   HERO DE PÁGINAS INTERNAS
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 4rem 0 3.5rem;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-top: 0.8rem; }
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ============================================================
   HERO DE ARTÍCULO DE BLOG
   ============================================================ */
.article-header {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.article-tag {
  display: inline-block;
  background: rgba(42,125,63,0.1);
  color: var(--primary);
  border-radius: 20px;
  padding: 0.25rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.article-meta { color: var(--text-light); font-size: 0.88rem; margin-top: 0.8rem; }
.article-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--primary-dark); margin: 2rem 0 0.9rem; }
.article-content p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.article-content ul { margin: 0.8rem 0 1rem 1.2rem; list-style: disc; }
.article-content li { color: var(--text-light); margin-bottom: 0.4rem; line-height: 1.7; }
.article-highlight {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   TIPOGRAFÍA Y SECCIONES
   ============================================================ */
.section-label {
  display: inline-block;
  background: rgba(42,125,63,0.1);
  color: var(--primary);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--primary-dark); line-height: 1.25; }
.section-subtitle { font-size: 1rem; color: var(--text-light); margin-top: 0.8rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn-primary-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 30px;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 15px rgba(141,198,63,0.4);
}
.btn-primary-cta:hover { background: var(--accent-dark); transform: translateY(-2px); color: var(--primary-dark); }
.btn-outline-white {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: white;
  border-radius: 30px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .2s, color .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: white; }
.btn-green {
  display: inline-block;
  background: var(--primary);
  color: white;
  border-radius: 30px;
  padding: 0.75rem 1.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background .2s, transform .15s;
}
.btn-green:hover { background: var(--primary-dark); transform: translateY(-2px); color: white; }

/* ============================================================
   GUARANTEE STRIP
   ============================================================ */
.guarantee-strip { background: white; border-bottom: 1px solid var(--border); padding: 1rem 0; }
.guarantee-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; font-size: 0.88rem; }
.guarantee-item i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }

/* ============================================================
   STATS
   ============================================================ */
.stats-section { background: var(--primary-dark); color: white; padding: 3rem 0; }
.stat-item { padding: 1rem; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.85rem; opacity: 0.8; margin-top: 0.3rem; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.service-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  color: white;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.7rem; color: var(--primary-dark); }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.service-link:hover { color: var(--primary-dark); }

/* ============================================================
   WHY ITEMS
   ============================================================ */
.why-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.why-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}
.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--primary-dark); }
.why-item p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ============================================================
   INDUSTRY & PEST CHIPS
   ============================================================ */
.industry-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: white; border: 1.5px solid var(--border);
  border-radius: 30px; padding: 0.5rem 1.2rem;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  margin: 0.3rem; cursor: pointer; transition: all .2s;
}
.industry-chip:hover { border-color: var(--primary); background: var(--light-bg); color: var(--primary); }
.pest-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px; padding: 0.35rem 0.9rem;
  font-size: 0.85rem; font-weight: 600; color: white;
  transition: background .2s;
}
.pest-chip:hover { background: rgba(255,255,255,0.25); color: white; }

/* ============================================================
   INFORME CARD
   ============================================================ */
.informe-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 20px; padding: 2.5rem;
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
  color: white;
}
.informe-icon { font-size: 3.5rem; flex-shrink: 0; }
.informe-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.8rem; }
.informe-card p { opacity: 0.9; margin-bottom: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white; border-radius: 16px;
  padding: 2rem; border: 1px solid var(--border);
  height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; flex: 1; font-style: italic; }
.testimonial-name { font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.testimonial-company { font-size: 0.82rem; color: var(--text-light); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: white; border-radius: 16px;
  overflow: hidden; transition: transform .25s;
  border: 1px solid var(--border); height: 100%;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img {
  height: 200px; display: flex;
  align-items: center; justify-content: center;
  font-size: 3rem; color: white;
}
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block; background: rgba(42,125,63,0.1);
  color: var(--primary); border-radius: 20px;
  padding: 0.2rem 0.8rem; font-size: 0.78rem;
  font-weight: 700; margin-bottom: 0.8rem;
}
.blog-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.blog-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.blog-read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ============================================================
   REFERIDOS
   ============================================================ */
.referidos-badge {
  display: inline-block;
  background: rgba(42,125,63,0.1);
  color: var(--primary);
  border-radius: 20px; padding: 0.3rem 1rem;
  font-size: 0.82rem; font-weight: 700;
}
.process-step {
  display: flex; gap: 1.2rem; align-items: flex-start;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--light-bg); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
}
.step-number.accent { background: var(--primary); color: white; }
.process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--primary-dark); }
.process-step p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ============================================================
   FORMULARIOS
   ============================================================ */
.contact-card {
  background: white; border-radius: 20px;
  padding: 2.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}
.form-control, .form-select {
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  transition: border-color .2s !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(42,125,63,0.1) !important;
}
.expert-box {
  background: white; border-radius: 16px;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.expert-form input, .expert-form textarea {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 0.75rem 1rem;
  font-family: inherit; font-size: 0.92rem;
  margin-bottom: 1rem; transition: border-color .2s;
  outline: none;
}
.expert-form input:focus, .expert-form textarea:focus { border-color: var(--primary); }
.expert-form textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   PLAGA SIGNALS
   ============================================================ */
.plaga-signals { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; }
.plaga-signals li { display: flex; gap: 0.75rem; align-items: flex-start; }
.signal-icon { color: #f59e0b; font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; text-align: center; padding: 4rem 0;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 2rem; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--primary-dark); color: white;
  padding: 4rem 0; text-align: center;
}
.newsletter-form {
  display: flex; gap: 0.75rem; max-width: 480px;
  margin: 1.5rem auto 0; flex-wrap: wrap; justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 220px; border: none;
  border-radius: 30px; padding: 0.8rem 1.5rem;
  font-size: 0.95rem; outline: none;
}
.newsletter-form button {
  background: var(--accent); color: var(--primary-dark);
  border: none; border-radius: 30px; padding: 0.8rem 1.8rem;
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--accent-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}
footer h5 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 1rem; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color .2s; }
footer ul a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-contact-item a { color: rgba(255,255,255,0.8); transition: color .2s; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding: 1.2rem 0; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
.social-links { display: flex; gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: background .2s, color .2s;
}
.social-link:hover { background: var(--accent); color: var(--primary-dark); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 25px rgba(37,211,102,0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; }
  .informe-card { flex-direction: column; text-align: center; }
  .guarantee-item { justify-content: center; text-align: left; }
  .stats-section { padding: 2rem 0; }
}
