/* =========================================================
   Twin City Pest Control - Complete Stylesheet
   Self-contained, no Tailwind, no build step required
   ========================================================= */

:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-glow: #4ade80;
  --primary-foreground: #ffffff;
  --foreground: #0f172a;
  --muted-foreground: #64748b;
  --background: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --accent: #dcfce7;
  --accent-foreground: #14532d;
  --secondary: #1e293b;
  --secondary-foreground: #f1f5f9;
  --whatsapp: #25d366;
  --destructive: #dc2626;
  --muted: #f1f5f9;

  --shadow-card: 0 4px 20px -4px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 2px 8px rgba(22, 163, 74, 0.25);
  --shadow-elegant: 0 10px 30px -10px rgba(22, 163, 74, 0.4);
  --gradient-hero: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

.icon-svg { display:inline-block; width:1em; height:1em; flex-shrink:0; vertical-align:-0.125em; }
.icon-xs { width:0.875rem; height:0.875rem; }
.icon-sm { width:1rem; height:1rem; }
.icon-md { width:1.5rem; height:1.5rem; }
.icon-star { width:1rem; height:1rem; fill:currentColor; }
.quote-icon { width:1.75rem; height:1.75rem; color:rgba(22, 163, 74, 0.3); }
.text-glow { color:var(--primary-glow); }
.btn .icon-svg, .badge-pill .icon-svg, .tag .icon-svg, .badge .icon-svg { flex-shrink:0; }
.tone-amber { background:#fef3c7; color:#d97706; }
.tone-rose { background:#ffe4e6; color:#e11d48; }
.tone-blue { background:#dbeafe; color:#2563eb; }
.tone-orange { background:#ffedd5; color:#ea580c; }
.tone-green { background:var(--accent); color:var(--primary); }
.tone-violet { background:#f3e8ff; color:#7c3aed; }
.service-icon { background:var(--primary); color:#fff; }

/* ---------- LAYOUT HELPERS ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.text-center { text-align: center; }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand img {
  height: 44px; width: 44px; border-radius: 50%; object-fit: contain;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: #fff; font-size: 1rem; font-weight: 700; }
.brand-text span { color: var(--primary-glow); font-size: 0.75rem; font-weight: 500; }

.nav-desktop {
  display: none;
  position: absolute; left: 50%; transform: translateX(-50%);
  align-items: center; gap: 2.5rem;
}
.nav-desktop a {
  font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.nav-desktop a:hover, .nav-desktop a.active {
  color: var(--primary-glow); font-weight: 600;
}

.header-cta { display: none; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: 9999px; font-size: 0.875rem;
  font-weight: 600; transition: transform 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05);
  color: #fff; backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fb058; }
.btn-outline-primary { border: 1px solid var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-light { background: var(--background); color: var(--primary); box-shadow: var(--shadow-card); }
.btn-lg { padding: 0.875rem 1.75rem; }

.menu-toggle {
  display: inline-flex; height: 40px; width: 40px; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0.375rem; color: #fff;
}
.nav-mobile {
  display: none; padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.95);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 0.5rem 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.nav-mobile a.active { color: var(--primary-glow); font-weight: 600; }
.nav-mobile-cta { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }

@media (min-width: 768px) {
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; isolate: isolate; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.85));
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 640px; padding: 5rem 1rem; text-align: center; color: #fff;
  max-width: 1100px; margin: 0 auto; position: relative;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: #fff;
  padding: 0.375rem 1rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: var(--shadow-soft);
}
.hero h1 {
  margin-top: 1.5rem; font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--primary-glow); }
.hero .urdu {
  margin-top: 1.25rem; font-size: 1.125rem; font-weight: 500; color: var(--primary-glow);
  direction: rtl;
}
.hero p.lead {
  margin-top: 0.75rem; max-width: 36rem; font-size: 1rem; color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 768px) { .hero p.lead { font-size: 1.125rem; } }

.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-phones {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; font-size: 0.875rem;
}
.hero-phones a { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-phones .ico {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; width: 28px; border-radius: 50%; background: var(--primary);
}
.hero-badges {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem;
  width: 100%; max-width: 720px; font-size: 0.875rem;
}
@media (min-width: 640px) { .hero-badges { grid-template-columns: repeat(4, 1fr); } }
.hero-badges > div { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.9); }

/* ---------- SECTION HEADINGS ---------- */
.eyebrow {
  display: inline-flex; align-items: center; background: var(--accent); color: var(--primary-dark);
  padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.h2 {
  font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--foreground); line-height: 1.1;
}
.h2 .accent { color: var(--primary); }
.lead-muted {
  margin-top: 1rem; max-width: 38rem; margin-left: auto; margin-right: auto;
  color: var(--muted-foreground);
}

/* ---------- CARDS / GRIDS ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.75rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(22, 163, 74, 0.4); box-shadow: var(--shadow-card); }
.icon-box {
  display: inline-flex; height: 48px; width: 48px; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: var(--accent); color: var(--primary);
}
.icon-box-lg { height: 56px; width: 56px; }
.card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; color: var(--foreground); }
.card .urdu { font-size: 0.875rem; color: var(--muted-foreground); direction: rtl; margin-top: 0.25rem; }
.card p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Service card with image */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .img-wrap { aspect-ratio: 3/2; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover img { transform: scale(1.05); }
.service-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 1.25rem; }
.service-card .actions .btn { flex: 1; padding: 0.5rem 0.75rem; font-size: 0.75rem; }

/* ---------- BG VARIANTS ---------- */
.bg-muted { background: rgba(241, 245, 249, 0.5); }
.bg-primary-section { background: var(--primary); color: #fff; }
.bg-primary-section .h2, .bg-primary-section h2 { color: #fff; }
.bg-primary-section p { color: rgba(255, 255, 255, 0.85); }
.bg-hero-grad { background-image: var(--gradient-hero); color: #fff; }
.bg-hero-grad h1, .bg-hero-grad h2 { color: #fff; }
.bg-hero-grad p { color: rgba(255, 255, 255, 0.9); }

/* ---------- STATS / COUNTUP ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-num {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--primary);
}
.bg-primary-section .stat-num { color: #fff; }
.stat-label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.bg-primary-section .stat-label { color: rgba(255, 255, 255, 0.85); }

/* ---------- BEFORE-AFTER SLIDER ---------- */
.ba-slider {
  position: relative; height: 16rem; overflow: hidden; user-select: none; cursor: ew-resize; touch-action: none;
}
@media (min-width: 768px) { .ba-slider { height: 20rem; } }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ba-slider .clip { position: absolute; inset: 0; overflow: hidden; }
.ba-slider .clip img { width: 100%; height: 100%; }
.ba-label {
  position: absolute; top: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: #fff; pointer-events: none; z-index: 5;
}
.ba-label.before { left: 0.75rem; background: var(--destructive); }
.ba-label.after { right: 0.75rem; background: var(--primary); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; width: 2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); z-index: 10; pointer-events: none;
  transform: translateX(-50%);
}
.ba-handle::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 40px; width: 40px; border-radius: 50%; background: #fff; color: var(--foreground);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-card);
}
.gallery-item img {
  aspect-ratio: 3/2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- REVIEWS ---------- */
.review {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.5rem; box-shadow: var(--shadow-card);
}
.review .quote-mark {
  color: rgba(22, 163, 74, 0.3); display: block; height: 1.75rem; width: 1.75rem;
}
.stars { display: flex; gap: 0.125rem; color: #f59e0b; margin-top: 0.75rem; }
.review p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--foreground); line-height: 1.6; }
.review-author { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.review-author img {
  height: 48px; width: 48px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3);
}
.review-author .name { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.review-author .city { display:flex; align-items:center; gap:0.25rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- AREAS ---------- */
.area {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}
.area .ico {
  display: inline-flex; height: 40px; width: 40px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: var(--primary); flex-shrink: 0;
}
.area strong { display: block; color: var(--foreground); }
.area span { font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; margin-top: 3.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 1rem; top: 0; bottom: 0; width: 2px;
  background: rgba(22, 163, 74, 0.3);
}
@media (min-width: 768px) { .timeline::before { left: 50%; transform: translateX(-50%); } }
.tl-item { position: relative; margin-bottom: 2.5rem; padding-left: 3rem; }
.tl-dot {
  position: absolute; left: 1rem; top: 0.5rem; height: 12px; width: 12px;
  border-radius: 50%; background: var(--primary); transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--background);
}
@media (min-width: 768px) {
  .tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-left: 0; }
  .tl-dot { left: 50%; }
  .tl-item.left .tl-text { text-align: right; padding-right: 2.5rem; }
  .tl-item.right .tl-text { grid-column: 2; padding-left: 2.5rem; }
}
.tl-year {
  display: inline-block; padding: 0.25rem 1rem; border-radius: 9999px;
  background: var(--primary); color: #fff; font-size: 0.875rem; font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.tl-text p { margin-top: 0.75rem; color: var(--muted-foreground); }

/* ---------- TEAM ---------- */
.team-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 2rem; text-align: center; box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card img, .team-avatar {
  margin: 0 auto; height: 96px; width: 96px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2), 0 8px 20px rgba(0, 0, 0, 0.1);
}
.team-avatar {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 1.75rem; font-weight: 800;
}
.team-card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.team-card .role { font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-top: 0.25rem; }
.team-card .years { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.team-card p { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- VALUE CARD (on green section) ---------- */
.value-card {
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
  border-radius: 1rem; padding: 1.5rem; text-align: center;
  transition: transform 0.25s;
}
.value-card:hover { transform: translateY(-4px); }
.value-card .ico {
  margin: 0 auto; display: inline-flex; height: 56px; width: 56px;
  align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.value-card h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 700; color: #fff; }
.value-card p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- FORM ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.5rem; box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .form-card { padding: 2rem; } }
.form-card h2 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.form-card .subtitle { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.form-grid {
  margin-top: 1.25rem; display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 0.25rem;
  font-size: 0.875rem; font-weight: 500; color: var(--foreground);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.625rem 0.75rem; font-size: 0.875rem;
  background: var(--background); border: 1px solid var(--border);
  border-radius: 0.375rem; outline: none; color: var(--foreground);
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.field .err { margin-top: 0.25rem; font-size: 0.75rem; color: var(--destructive); }
.form-actions {
  margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 640px) { .form-actions { flex-direction: row; } }
.form-actions .btn { padding: 0.75rem 1.5rem; }
.form-actions .btn-primary { flex: 1; }
.notice {
  padding: 0.75rem 1rem; border-radius: 0.375rem; font-size: 0.875rem; margin-top: 1rem;
}
.notice-error { background: rgba(220, 38, 38, 0.1); color: var(--destructive); }
.notice-success { background: rgba(22, 163, 74, 0.1); color: var(--primary-dark); }

.form-success {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 2rem; text-align: center; box-shadow: var(--shadow-card);
}
.form-success .check {
  margin: 0 auto; height: 64px; width: 64px; border-radius: 50%;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800;
}
.form-success h3 { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.form-success p { margin-top: 0.5rem; color: var(--muted-foreground); }
.form-success .actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- CONTACT INFO CARDS ---------- */
.contact-info {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem;
  box-shadow: var(--shadow-card); transition: transform 0.2s;
}
.contact-info:hover { transform: translateY(-2px); }
.contact-info .ico-lg {
  display: flex; flex-shrink: 0; height: 48px; width: 48px; align-items: center; justify-content: center;
  border-radius: 0.5rem; background: var(--primary); color: #fff;
}
.contact-info.wa .ico-lg { background: var(--whatsapp); }
.contact-info.area-info .ico-lg { background: var(--accent); color: var(--primary); }
.contact-info .label { font-size: 0.875rem; color: var(--muted-foreground); }
.contact-info .value { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 4rem; background: var(--secondary); color: var(--secondary-foreground);
}
.footer-grid {
  display: grid; gap: 2.5rem; padding: 3.5rem 1rem; max-width: 1200px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; font-size: 0.875rem; color: rgba(241, 245, 249, 0.8); display: flex; align-items: flex-start; gap: 0.5rem; }
.footer li a { transition: color 0.2s; }
.footer li a:hover { color: var(--primary-glow); }
.footer .brand img { height: 56px; width: 56px; }
.footer .brand-text strong { color: #fff; }
.footer .desc { margin-top: 1.25rem; font-size: 0.875rem; color: rgba(241, 245, 249, 0.7); line-height: 1.6; }
.footer-social { margin-top: 1.5rem; display: flex; gap: 0.75rem; }
.footer-social a {
  display: flex; height: 40px; width: 40px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.2); }
.footer-social a.wa { background: var(--whatsapp); }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1rem; max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-size: 0.75rem; color: rgba(241, 245, 249, 0.6);
}
@media (min-width: 768px) { .footer-bar { flex-direction: row; } }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 100;
  display: flex; height: 56px; width: 56px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--whatsapp); color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 4px rgba(37, 211, 102, 0.3);
  animation: float 3s ease-in-out infinite;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.7s ease-out both; }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-bounce { animation: bounce 2s infinite; display: inline-block; }

/* ---------- WHY-US PAGE ---------- */
.why-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 1.5rem; box-shadow: var(--shadow-card);
}
.why-card .ico {
  display: inline-flex; height: 48px; width: 48px; align-items: center; justify-content: center;
  border-radius: 0.5rem; background: var(--accent); color: var(--primary-dark);
}
.why-card h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; color: var(--foreground); }
.why-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- ABOUT - STORY GRID ---------- */
.story-grid {
  display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr;
  max-width: 1200px; margin: 0 auto; padding: 0 1rem;
}
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-grid .img-wrap { overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-card); }
.tag-list { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: var(--accent); color: var(--accent-foreground);
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500;
}

/* ---------- WHY US LARGE LAYOUT (home section) ---------- */
.why-us-grid {
  display: grid; gap: 3rem; margin-top: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .why-us-grid { grid-template-columns: 1fr 2fr; } }

/* ---------- BEFORE-AFTER WRAP ---------- */
.ba-wrap {
  overflow: hidden; border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-card);
}
.ba-wrap .meta {
  display: flex; align-items: center; justify-content: space-between; padding: 1.25rem;
}
.ba-wrap .meta h3 { font-weight: 700; color: var(--foreground); }
.ba-wrap .meta .badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary);
}

/* ---------- CONTACT GRID ---------- */
.contact-grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-grid > div > * + * { margin-top: 1.25rem; }

iframe.map { width: 100%; height: 280px; border: 0; }

/* small util */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

/* ---------- ICON / RESPONSIVE FIXES (added) ---------- */
/* Make sure all inline SVG icons inherit color and size cleanly */
svg.icon-svg, svg.icon-xs, svg.icon-sm, svg.icon-md { display:inline-block; vertical-align:middle; flex-shrink:0; }

/* Footer social: bigger tap targets, spacing on mobile */
.footer-social a { transition: transform .2s, background .2s; }
.footer-social a:hover { transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a.wa svg { width: 20px; height: 20px; }

/* WhatsApp float — slightly smaller on small phones, bigger icon */
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 480px) {
  .wa-float { height: 52px; width: 52px; bottom: 1rem; right: 1rem; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Header CTA buttons: stack nicely on small screens, hide labels if too tight */
@media (max-width: 640px) {
  .header-cta { display: none; }
}
.nav-mobile-cta { display:flex; flex-direction:column; gap:.5rem; padding:.75rem 1rem; }
.nav-mobile-cta .btn { justify-content:center; width:100%; }

/* Contact info ico-lg: ensure WhatsApp tile has white SVG */
.contact-info.wa .ico-lg svg { color:#fff; fill:#fff; }
.contact-info .ico-lg svg { width: 22px; height: 22px; }

/* Buttons: keep icon+label aligned */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; }
.btn svg { width: 1em; height: 1em; }

/* Service phone-row icons (image-13 style — green circular phone next to numbers) */
.phone-row { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }
.phone-row a { display:inline-flex; align-items:center; gap:.5rem; color:inherit; text-decoration:none; font-weight:600; }
.phone-row a .ico-circle {
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:50%; background:var(--whatsapp); color:#fff;
}
.phone-row a .ico-circle svg { width:16px; height:16px; }

/* 20% primary gradient on all cards */
.card,
.service-card,
.team-card,
.form-card,
.review-card,
.area-card,
.feature-card {
  background-image: linear-gradient(135deg, rgba(22, 163, 74, 0.20) 0%, rgba(22, 163, 74, 0.04) 100%);
  background-color: var(--card);
}
.value-card {
  background-image: linear-gradient(135deg, rgba(22, 163, 74, 0.35) 0%, rgba(22, 163, 74, 0.15) 100%);
}
