/* Mejores Fumigadores SV — Style System */
:root {
  --color-primary: #1a3c34;
  --color-primary-light: #2f855a;
  --color-accent: #c05621;
  --color-accent-hover: #9c4221;
  --color-accent-light: #fef0e6;
  --color-bg: #f0fff4;
  --color-surface: #ffffff;
  --color-text: #1a202c;
  --color-text-muted: #718096;
  --color-border: #e2e8f0;
  --color-success: #38a169;
  --color-whatsapp: #25D366;
  --font-family: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 70px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-family); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
a { color: var(--color-primary-light); text-decoration: none; }
a:hover { color: var(--color-primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--color-primary); }
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--color-primary-light); margin: 1rem auto 0; border-radius: 2px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); background: var(--color-surface); border-bottom: 1px solid var(--color-border); z-index: 1000; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.logo { font-weight: 800; font-size: 1.125rem; color: var(--color-primary); display: flex; align-items: center; gap: 0.5rem; }
.logo-badge { background: var(--color-accent); color: white; font-size: 0.75rem; padding: 2px 8px; border-radius: 9999px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--color-text-muted); font-size: 0.875rem; font-weight: 500; }
.nav a:hover { color: var(--color-primary); }
.header-phone { background: var(--color-accent); color: white !important; padding: 0.5rem 1rem; border-radius: var(--radius-md); font-weight: 700; }
.header-phone:hover { background: var(--color-accent-hover); color: white !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 3px; background: var(--color-primary); border-radius: 2px; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--color-surface); flex-direction: column; padding: 1.5rem; box-shadow: var(--shadow-lg); gap: 1rem; }
  .nav.active { display: flex; }
  h1 { font-size: 1.875rem; }
}

/* Hero */
.hero { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 5rem; background: linear-gradient(135deg, #1a3c34 0%, #2f855a 100%); color: white; text-align: center; position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { color: white; font-size: 2.75rem; margin-bottom: 1rem; animation: fadeInUp 0.6s ease; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; animation: fadeInUp 0.6s ease 0.2s both; }
.hero-badge { display: inline-block; background: var(--color-accent); color: white; padding: 0.5rem 1.5rem; border-radius: 9999px; font-weight: 700; font-size: 0.875rem; margin-bottom: 1.5rem; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--color-accent); color: white; padding: 1rem 2rem; border-radius: var(--radius-md); font-weight: 800; font-size: 1.25rem; transition: all 0.2s; }
.hero-cta:hover { background: var(--color-accent-hover); color: white; transform: translateY(-2px); }
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; }
.hero-stat-number { font-size: 1.875rem; font-weight: 800; color: white; }
.hero-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
  .hero h1 { font-size: 1.875rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-surface); }

/* Service Cards - green theme */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.25s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--color-primary-light); }
.service-card-icon { width: 56px; height: 56px; background: #c6f6d5; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.5rem; }
.service-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--color-text-muted); font-size: 0.875rem; }
.service-card-link { color: var(--color-primary-light); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1rem; }
@media (max-width: 768px) { .service-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }

/* City Cards */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.city-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.25s; }
.city-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
.city-name { font-weight: 700; color: var(--color-primary); }

/* CTA Section green */
.cta-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); color: white; text-align: center; padding: 4rem 0; }
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-section .hero-cta { background: white; color: var(--color-primary); }
.cta-section .hero-cta:hover { background: #e2e8f0; }

/* FAQ */
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { width: 100%; padding: 1rem 1.5rem; background: var(--color-surface); border: none; text-align: left; font-weight: 600; font-size: 1rem; color: var(--color-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { background: var(--color-bg); }
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--color-primary-light); }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-answer { display: none; padding: 0 1.5rem 1rem; color: var(--color-text-muted); }
.faq-answer.active { display: block; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.testimonial-text { font-style: italic; color: var(--color-text-muted); margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; font-size: 0.875rem; color: var(--color-primary); }
.testimonial-rating { color: #ecc94b; margin-bottom: 0.5rem; }
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; width: 60px; height: 60px; background: var(--color-whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: all 0.25s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Breadcrumbs */
.breadcrumbs { background: var(--color-bg); padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs .current { color: var(--color-text); font-weight: 600; }
.breadcrumbs-sep { color: var(--color-text-muted); margin: 0 0.5rem; }

/* Page Content */
.page-content { padding: 3rem 0; min-height: 60vh; }
.page-content h1 { margin-bottom: 1.5rem; }
.page-content ul, .page-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.5rem; color: var(--color-text-muted); }

/* Footer */
.footer { background: #0f2922; color: rgba(255,255,255,0.8); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 1rem; }
.footer a { display: block; color: rgba(255,255,255,0.6); font-size: 0.875rem; padding: 0.25rem 0; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 2rem; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.4); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-body { padding: 1.5rem; }
.blog-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.blog-card p { color: var(--color-text-muted); font-size: 0.875rem; }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* Price List */
.price-list { max-width: 700px; margin: 0 auto; }
.price-item { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.price-service { font-weight: 600; }
.price-amount { font-weight: 800; color: var(--color-primary); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
