/* Boninos Pest Control - Main Stylesheet */
/* Mobile-first responsive design */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
  --primary: #2ECC40;
  --primary-dark: #27AE36;
  --secondary: #FF8C00;
  --accent: #FFD700;
  --bg: #FAFFFE;
  --text-dark: #1A1A2E;
  --text-light: #FFFFFF;
  --footer-bg: #1A1A2E;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Nunito', Arial, sans-serif; font-weight: 800; line-height: 1.2; }

a { color: var(--primary-dark); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--primary); color: #fff;
  padding: 8px 16px; z-index: 1000; font-weight: 700;
}
.skip-link:focus { top: 0; }

/* NAVBAR */
.navbar {
  background: #fff; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08); padding: 0 20px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
.nav-logo { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--primary-dark); }
.nav-logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: #fff;
  box-shadow: var(--shadow); border-radius: var(--radius); padding: 10px 0;
  min-width: 200px; z-index: 200;
}
.nav-links .dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 20px; }
.hamburger { display: none; cursor: pointer; font-size: 1.8rem; background: none; border: none; color: var(--text-dark); }

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; padding: 20px; box-shadow: var(--shadow); gap: 12px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-links .dropdown-menu { position: static; box-shadow: none; padding-left: 20px; display: block; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: 50px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s; text-decoration: none; min-height: 48px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-call { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }

/* HERO */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(46,204,64,0.4));
}
.hero-content {
  position: relative; z-index: 2; max-width: 700px; padding: 40px 20px; margin: 0 auto;
  text-align: center; color: #fff;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; margin-bottom: 24px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (min-width: 768px) {
  .hero-content { text-align: left; padding: 60px 40px; margin: 0; max-width: 1200px; margin: 0 auto; }
  .hero h1 { font-size: 3.5rem; }
  .hero-buttons { justify-content: flex-start; }
}

/* SECTIONS */
.section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 40px; color: var(--text-dark); }
.section-title span { color: var(--primary); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s; text-align: center;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.service-card-body { padding: 20px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; color: #555; margin-bottom: 16px; }

/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.why-card { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.why-card .icon { font-size: 2.5rem; margin-bottom: 12px; }
.why-card h3 { margin-bottom: 8px; color: var(--primary-dark); }

/* TRUST BADGES */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 40px 0; }
.badge-item {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  padding: 12px 24px; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
}

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card {
  background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.review-card .stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 8px; }
.review-card p { font-style: italic; margin-bottom: 12px; color: #444; }
.review-card .reviewer { font-weight: 700; color: var(--text-dark); }
.review-card .location { color: #888; font-size: 0.85rem; }

/* CONTACT FORM */
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 2px solid #ddd; border-radius: var(--radius);
  font-size: 1rem; font-family: inherit; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--primary); outline: none;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* PEST PAGE */
.pest-hero { background: var(--primary); color: #fff; padding: 60px 20px; text-align: center; }
.pest-hero h1 { font-size: 2.5rem; }
.pest-content { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.pest-content h2 { color: var(--primary-dark); margin: 32px 0 16px; font-size: 1.5rem; }
.pest-content ul { padding-left: 24px; margin-bottom: 20px; }
.pest-content li { margin-bottom: 8px; }
.pest-content .pest-img { margin: 24px 0; border-radius: var(--radius); }
.pest-content .steps { counter-reset: step; list-style: none; padding-left: 0; }
.pest-content .steps li { counter-increment: step; padding: 16px 16px 16px 60px; position: relative;
  background: #f8f9fa; border-radius: var(--radius); margin-bottom: 12px; }
.pest-content .steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  background: var(--primary); color: #fff; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* FAQ */
.faq-item { border-bottom: 1px solid #eee; padding: 16px 0; }
.faq-q { font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding-top: 8px; color: #555; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--primary); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; padding: 60px 20px; text-align: center;
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-banner p { margin-bottom: 24px; font-size: 1.1rem; opacity: 0.95; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-call { background: #fff; color: var(--primary-dark); }
.cta-buttons .btn-whatsapp { background: #25D366; color: #fff; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img { position: relative; }
.about-img .location-tag {
  position: absolute; bottom: 16px; left: 16px; background: var(--primary); color: #fff;
  padding: 6px 16px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
}

/* FOOTER */
.footer { background: var(--footer-bg); color: #ccc; padding: 60px 20px 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.1rem; }
.footer a { color: #aaa; display: block; margin-bottom: 8px; transition: color .2s; }
.footer a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #333;
  text-align: center; font-size: 0.85rem; }
.footer-bottom .privacy { margin-top: 8px; font-size: 0.8rem; color: #888; }

/* FLOATING BUTTONS */
.floating-btns {
  position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column;
  gap: 12px; z-index: 999;
}
.floating-btns .btn { border-radius: 50%; width: 56px; height: 56px; padding: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* MAP */
.map-placeholder { background: #e0e0e0; height: 300px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: #888; font-size: 1.1rem; }

/* UTILITIES */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
