/* ============================================================
   SECURE HERBAL PEST CONTROL - Main Stylesheet
   ============================================================ */

:root {
  --green: #2e7d32;
  --green-light: #43a047;
  --green-dark: #1b5e20;
  --green-pale: #e8f5e9;
  --red: #c62828;
  --red-light: #ef5350;
  --orange: #f57c00;
  --white: #ffffff;
  --off-white: #f9fbe7;
  --gray-light: #f5f5f5;
  --gray: #757575;
  --dark: #1a1a1a;
  --text: #333333;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 10px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #a5d6a7; }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: 5px; color: #81c784; }

/* ============ HEADER ============ */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 36px; line-height: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--green-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
}

/* NAV */
.nav > ul { display: flex; gap: 4px; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav > ul > li > a:hover,
.nav > ul > li > a.active {
  color: var(--green);
  background: var(--green-pale);
}
.nav > ul > li > a i { font-size: 10px; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e8f5e9;
  min-width: 200px;
  z-index: 999;
  overflow: hidden;
  padding-top: 4px;
}
.dropdown li a {
  display: block;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.dropdown li a:hover {
  background: var(--green-pale);
  color: var(--green);
  border-left-color: var(--green);
}
.has-dropdown:hover .dropdown { display: block; }

/* BTN QUOTE */
.btn-quote {
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 10px rgba(46,125,50,0.3);
}
.btn-quote:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46,125,50,0.4);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--green);
}

.nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,125,50,0.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: #fff;
}
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(198,40,40,0.3);
}
.btn-red:hover { background: #b71c1c; transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--green-dark);
}
.btn-white:hover { background: var(--green-pale); }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-circles {
  position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-circles::before {
  content: '';
  position: absolute; inset: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge i { color: #ffd54f; }

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .accent { color: #a5d6a7; }

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  font-weight: 500;
}

/* HERO FORM CARD */
.hero-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.6s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-form-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.hero-form-card p { font-size: 13px; color: var(--gray); margin-bottom: 22px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color var(--transition);
  outline: none;
  background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: var(--green-pale);
  border-radius: 10px;
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 12px;
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-green { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.section-green h2, .section-green p { color: #fff; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-badge.red { background: #ffebee; color: var(--red); }
.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-header p {
  font-size: 16px;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* DIVIDER */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--green);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 52px; height: 52px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 20px;
}
.step-img {
  width: 90px; height: 90px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.step-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 10px;
}
.step-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid #f0f0f0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.service-img-placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, var(--green-pale), #c8e6c9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  gap: 8px;
}
.service-img-placeholder span {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.service-body { padding: 18px; }
.service-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-body p { font-size: 13px; color: var(--gray); line-height: 1.5; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.stat-num span { font-size: 28px; }
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  font-weight: 500;
}

/* ============ PRICING TABLE ============ */
.pricing-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green);
  color: #fff;
}

.pricing-table {
  display: none;
  animation: fadeIn 0.3s ease;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.table-wrapper { overflow-x: auto; margin-bottom: 20px; }
table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
thead tr { background: var(--green); color: #fff; }
thead th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
tbody tr { background: #fff; transition: background var(--transition); }
tbody tr:nth-child(even) { background: #f9fbe7; }
tbody tr:hover { background: var(--green-pale); }
tbody td {
  padding: 15px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid #f0f0f0;
}
tbody td:last-child { font-weight: 700; color: var(--green-dark); }
.pricing-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff8e1;
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: #5d4037;
}

/* ============ WHY US ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-card {
  display: flex; gap: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  border-left: 4px solid var(--green);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 56px; height: 56px; min-width: 56px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--green);
}
.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ============ PEST ICONS ROW ============ */
.pests-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.pest-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.pest-chip:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  transition: background var(--transition);
}
.faq-q:hover { background: var(--green-pale); }
.faq-q i {
  color: var(--green);
  transition: transform var(--transition);
  font-size: 18px;
}
.faq-item.open .faq-q { background: var(--green-pale); color: var(--green-dark); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============ BRANCHES ============ */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.branch-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 4px solid var(--green);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.branch-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.branch-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 6px;
}
.branch-card p { font-size: 13px; color: var(--gray); }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; left: 22px;
  font-size: 72px;
  color: var(--green-pale);
  font-family: Georgia, serif;
  line-height: 1;
}
.stars { color: #ffc107; margin-bottom: 14px; font-size: 16px; }
.testimonial-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
}
.author-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.author-loc { font-size: 12px; color: var(--gray); }

/* ============ ISO BADGE STRIP ============ */
.iso-strip {
  background: var(--green-dark);
  padding: 18px 0;
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}
.iso-strip i { color: #a5d6a7; margin: 0 8px; }

/* ============ SECTION TITLE / SUB (used on inner pages) ============ */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--dark);
  margin: 8px 0 12px;
  line-height: 1.2;
}
.section-sub {
  font-size: 15.5px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer { background: #111; color: #ccc; }
.footer-top { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-logo .logo-main { color: #fff; font-size: 18px; }
.footer-logo .logo-sub { color: #ef9a9a; }
.footer-col p { font-size: 14px; line-height: 1.7; color: #aaa; margin-bottom: 20px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: #aaa;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: #a5d6a7; }
.footer-col ul li a i { color: var(--green-light); font-size: 11px; }
.contact-list li { margin-bottom: 12px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: background var(--transition), transform var(--transition);
}
.social-links a:hover { background: var(--green); transform: translateY(-3px); }

.footer-bottom {
  background: #0a0a0a;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #222;
}
.footer-bottom p { margin-bottom: 4px; }
.nexa-credit {
  font-size: 12px;
  color: #444;
  margin-top: 6px !important;
  padding-top: 8px;
  border-top: 1px solid #1a1a1a;
}
.nexa-credit a {
  color: #81c784;
  font-weight: 600;
  transition: color var(--transition);
}
.nexa-credit a:hover { color: #a5d6a7; }

/* ============ FLOATING ACTION BUTTONS ============ */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-call {
  background: var(--red);
  box-shadow: 0 4px 16px rgba(198,40,40,0.45);
  animation: pulse-call 2s infinite;
}
.float-call:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(198,40,40,0.6);
  color: #fff;
}
.float-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  animation: pulse-wa 2s infinite;
}
.float-whatsapp:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(37,211,102,0.65);
  color: #fff;
}
@keyframes pulse-call {
  0%, 100% { box-shadow: 0 4px 16px rgba(198,40,40,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(198,40,40,0.75); }
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.8); }
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: #a5d6a7; }
.breadcrumb i { font-size: 10px; }

/* ============ CONTACT FORM PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}
.contact-info p { color: var(--gray); line-height: 1.7; margin-bottom: 28px; }
.info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex; gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  align-items: center;
}
.info-card-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--green);
}
.info-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--dark);
}
.info-card p, .info-card a {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin: 0;
}
.info-card a:hover { color: var(--green); }

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 24px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header .container { height: 60px; }
  .logo-icon { font-size: 28px; }
  .logo-main { font-size: 16px; }
  .logo-sub { font-size: 9px; letter-spacing: 1px; }

  .nav {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: #fff;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    display: block;
    overflow-y: auto;
    z-index: 1001;
  }
  .nav.open { left: 0; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 20px 0; }
  .nav > ul > li > a {
    padding: 15px 25px;
    font-size: 15px;
    border-radius: 0;
    justify-content: space-between;
  }
  .nav > ul > li > a:hover { background: var(--green-pale); }
  
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--gray-light);
    min-width: 100%;
  }
  .dropdown.active { display: block; }
  .dropdown li a { padding-left: 40px; }

  .hamburger { display: block; }
  .btn-quote { display: none; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .container { justify-content: center; }
  .hero { min-height: auto; padding: 60px 0; }
  .hero-stats { gap: 20px; justify-content: center; }
  .hero h1 { font-size: 32px; text-align: center; }
  .hero p { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .pricing-tabs { gap: 6px; }
  .tab-btn { padding: 8px 14px; font-size: 12px; }
  .float-btns { bottom: 20px; right: 16px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; font-size: 20px; }
  .hero h1 { font-size: 28px; }
  .hero-form-card { padding: 24px 20px; }
  .section { padding: 50px 0; }
  .stat-num { font-size: 32px; }
}

/* ============ RESPONSIVE — inner page grids ============ */
@media (max-width: 768px) {
  /* Service / location detail page layouts */
  .section-sub { font-size: 14px; }

  /* Process steps, benefits, signs grids already use auto-fit — no change needed */
  /* Ensure CTA buttons in new templates stack properly */
  .page-hero h1 { font-size: clamp(22px, 6vw, 36px); }
  .page-hero p { font-size: 14px; }

  /* Nexa footer credit on small screens */
  .nexa-credit { font-size: 11px; }
}

@media (max-width: 480px) {
  /* Inner page process steps: force single column */
  .section-title { font-size: 22px; }

  /* Pricing table on service pages: ensure scroll hint is visible */
  .pricing-table, [style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }
}

/* ============ UTILITY CLASSES ============ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
  scroll-margin-top: 90px;
}
.service-detail-item.reverse { direction: rtl; }
.service-detail-item.reverse > div { direction: ltr; }

@media (max-width: 900px) {
  .service-detail-item { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .service-detail-item.reverse { direction: ltr; }
  .service-detail-item.reverse > div { direction: ltr; }
  .service-detail-item ul { text-align: left; max-width: 400px; margin: 0 auto 28px; }
  .service-detail-item .btn { justify-content: center; width: 100%; }
  .service-detail-item > div:last-child { order: -1; }
}
