/* LoklFix.in - Local Home Services Bangalore */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --primary: #1B6B4A;
  --primary-dark: #134F36;
  --primary-light: #E8F5EE;
  --accent: #F5A623;
  --accent-dark: #D4891A;
  --dark: #1A1A2E;
  --dark-muted: #2D2D44;
  --text: #333340;
  --text-light: #6B7280;
  --bg: #FAFAF8;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--dark); line-height: 1.25; }

a { text-decoration: none; color: inherit; transition: all 0.3s; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--accent); font-weight: 500; }
.topbar a:hover { color: #fff; }

/* ─── HEADER / NAV ─── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--accent); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text);
}
.nav a:hover { background: var(--primary-light); color: var(--primary); }
.nav .dropdown { position: relative; }
.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  z-index: 100;
}
.nav .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
}
.nav .dropdown-menu a:hover { background: var(--primary-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--dark); border-radius: 2px;
  transition: all 0.3s;
}

/* ─── CTA BUTTON ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,166,35,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-light); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #228B5A 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 3.2rem; margin-bottom: 20px; line-height: 1.15; color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.8; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img, .hero-image svg { max-width: 480px; width: 100%; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3)); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}
.trust-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-light { background: var(--primary-light); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-header h2 { font-size: 2.4rem; margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ─── SERVICE CARDS ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.35s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }
.service-card .price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.service-card .btn { width: 100%; justify-content: center; }

/* ─── AREAS / LOCATIONS ─── */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  font-weight: 500;
}
.area-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ─── PROCESS / HOW IT WORKS ─── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  text-align: center;
  padding: 24px;
  position: relative;
}
.process-num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 1.1rem; margin-bottom: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* ─── TESTIMONIALS ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; color: var(--text); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-loc { font-size: 0.82rem; color: var(--text-light); }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.faq-question:hover { background: var(--primary-light); }
.faq-question .icon { font-size: 1.3rem; transition: transform 0.3s; color: var(--primary); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { font-size: 2.2rem; margin-bottom: 16px; color: #fff; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── BLOG CARDS ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-thumb {
  height: 200px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-thumb img, .blog-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.blog-meta { font-size: 0.82rem; color: var(--text-light); }

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.footer p { font-size: 0.9rem; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── STICKY PHONE BAR (Mobile) ─── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.sticky-cta:hover { background: var(--primary-dark); }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 998;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb span { margin: 0 8px; }

/* ─── INNER PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
}
.page-hero h1 { font-size: 2.4rem; margin-bottom: 12px; color: #fff; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 600px; }

/* ─── CONTENT ─── */
.content-section { padding: 60px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.content-main h2 { font-size: 1.8rem; margin: 32px 0 16px; }
.content-main h3 { font-size: 1.3rem; margin: 24px 0 12px; }
.content-main p { margin-bottom: 16px; line-height: 1.8; }
.content-main ul { margin: 0 0 16px 24px; }
.content-main ul li { margin-bottom: 8px; line-height: 1.7; }
.content-main table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.content-main th, .content-main td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.92rem;
}
.content-main th { background: var(--primary-light); font-weight: 600; }

/* SIDEBAR */
.sidebar {}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-card h4 { font-size: 1.1rem; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 16px; }
.sidebar-contact {
  background: var(--primary);
  color: #fff;
  border: none;
}
.sidebar-contact h4 { color: #fff; }
.sidebar-contact p { opacity: 0.9; font-size: 0.95rem; margin-bottom: 16px; }
.sidebar-contact .btn { background: var(--accent); color: var(--dark); }

/* ─── BLOG SINGLE ─── */
.blog-single { max-width: 800px; margin: 0 auto; }
.blog-single .blog-hero-img {
  width: 100%;
  height: 360px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.blog-single .blog-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-single h1 { font-size: 2.2rem; margin-bottom: 16px; }
.blog-single .meta { font-size: 0.9rem; color: var(--text-light); margin-bottom: 32px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-image { margin-top: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
  }
  .nav.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .trust-items { gap: 24px; }
  .page-hero h1 { font-size: 1.8rem; }
  body { padding-bottom: 56px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .process-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── SCHEMA/STRUCTURED DATA HIDDEN ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ─── CALCULATOR ─── */
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .tag { background: rgba(27,107,74,.25); color: #6FCF97; }
#calc-area:focus, #calc-method:focus {
  border-color: rgba(27,107,74,.6) !important;
  background: rgba(27,107,74,.1) !important;
}
@media (max-width: 768px) {
  #calculator .container > div {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
