/* =========================================
   GLEN OAK DENTAL - Web 2.0 Stylesheet
   Aesthetic: Clean Medical Luxury
   Fonts: Playfair Display + DM Sans
   Palette: Forest Green + Ivory + Gold
   ========================================= */

:root {
  --green: #1a6b5a;
  --green-dark: #134d40;
  --green-light: #e8f5f1;
  --gold: #c9a84c;
  --gold-light: #f5edd6;
  --ivory: #faf8f4;
  --text: #1c1c1c;
  --text-muted: #5a6570;
  --white: #ffffff;
  --border: #e0dbd0;
  --shadow: 0 4px 24px rgba(26,107,90,0.10);
  --shadow-lg: 0 12px 48px rgba(26,107,90,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 0.78rem;
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 8px 24px;
  flex-wrap: wrap;
  letter-spacing: 0.01em;
}
.topbar a { color: #fff; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.logo img { height: 52px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links > li > a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: var(--green-light);
  color: var(--green);
}
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 100;
  padding: 8px 0;
  animation: dropDown 0.2s ease;
}
@keyframes dropDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text);
  transition: background var(--transition);
}
.dropdown-menu li a:hover { background: var(--green-light); color: var(--green); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}
.hero-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(26,107,90,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.hero-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--green); }
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--green); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--border);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-logo-big { height: 80px; margin-bottom: 1.2rem; }
.hero-card-text p { font-style: italic; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.4rem; }
.hero-card-text strong { color: var(--green); font-size: 0.85rem; }
.emergency-pill {
  display: inline-block;
  margin-top: 1.2rem;
  background: #fff3f3;
  border: 1px solid #f5b7b7;
  color: #c0392b;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 99px;
  border: 2px solid var(--green);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,90,0.25); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 99px;
  border: 2px solid var(--green);
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--green);
  color: var(--white);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 18px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.trust-item:last-child { border-right: none; }
.ti-icon { font-size: 1rem; }

/* ---- SECTIONS ---- */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  position: relative;
  padding-bottom: 8px;
}
.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ---- SERVICES ---- */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.service-card.featured { background: var(--green); color: var(--white); border-color: var(--green); }
.service-card.featured h3, .service-card.featured p { color: rgba(255,255,255,0.9); }
.service-card.featured .service-link { color: var(--gold); }
.service-card.featured::before { background: var(--gold); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--green); }

/* ---- WHY US ---- */
.why-section { background: var(--ivory); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.why-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1rem; }
.why-list { list-style: none; }
.why-list li { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.6rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.why-list li:last-child { border-bottom: none; }
.why-check { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.why-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.why-card:hover { transform: scale(1.03); }
.wc1, .wc4 { background: var(--green); color: var(--white); }
.wc1 .wc-icon, .wc4 .wc-icon { color: var(--gold); }
.wc1 strong, .wc4 strong { color: var(--white); }
.wc1 p, .wc4 p { color: rgba(255,255,255,0.8); }
.wc-icon { font-size: 1.8rem; display: block; margin-bottom: 0.6rem; }
.why-card strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.why-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ---- BLOG PREVIEW ---- */
.blog-preview-section { background: var(--white); }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-preview-card {
  display: block;
  background: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-preview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-prev-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-emoji { font-size: 3.5rem; }
.blog-prev-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 0.8rem;
}
.blog-prev-body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-prev-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.8rem; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--green); }

/* ---- CONTACT STRIP ---- */
.contact-strip { background: var(--green-light); padding: 80px 24px; }
.contact-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.cs-info h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; }
.cs-detail { display: flex; gap: 1rem; margin-bottom: 1.2rem; }
.cs-detail > span { font-size: 1.4rem; flex-shrink: 0; }
.cs-detail strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 3px; }
.cs-detail p { color: var(--text-muted); font-size: 0.92rem; }
.cs-detail a { color: var(--green); font-weight: 600; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--ivory); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card.featured-t { background: var(--green); color: var(--white); }
.testimonial-card.featured-t p { color: rgba(255,255,255,0.9); }
.testimonial-card.featured-t .stars { color: var(--gold); }
.testimonial-card.featured-t .reviewer strong { color: var(--white); }
.testimonial-card.featured-t .reviewer span { color: rgba(255,255,255,0.7); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.93rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.2rem; line-height: 1.8; }
.reviewer { display: flex; align-items: center; gap: 0.8rem; }
.reviewer-avatar {
  width: 40px; height: 40px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--green); font-size: 1rem; flex-shrink: 0;
}
.featured-t .reviewer-avatar { background: rgba(255,255,255,0.2); color: var(--white); }
.reviewer strong { display: block; font-size: 0.92rem; }
.reviewer span { font-size: 0.78rem; color: var(--text-muted); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::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");
}
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--text); }
.cta-banner .btn-primary:hover { background: #b8922b; border-color: #b8922b; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---- FOOTER ---- */
.footer { background: var(--green-dark); color: var(--white); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.6rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--white);
  transition: background var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--text); }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 0.8rem; }
.footer-contact a { color: var(--gold); }
.footer-bottom { text-align: center; padding: 20px 0; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: var(--gold); }

/* ---- BLOG PAGE ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #2ea882 100%);
  padding: 100px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '🦷';
  position: absolute;
  font-size: 20rem;
  opacity: 0.04;
  top: -50px; right: -60px;
  pointer-events: none;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.5rem; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); }

/* Blog Layout */
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; padding: 70px 24px; max-width: 1200px; margin: 0 auto; }

/* Blog Category Filter */
.blog-filter { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* Blog Cards */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: all var(--transition);
}
.blog-featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bfc-img {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.bfc-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.bfc-body .blog-tag { margin-bottom: 1rem; }
.bfc-body h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.8rem; line-height: 1.35; }
.bfc-body p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.75; }
.bfc-body .blog-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1rem; }
.bfc-body .blog-meta span { margin-right: 1rem; }

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bc-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.bc-body { padding: 1.2rem; }
.bc-body h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.bc-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.6rem; }
.bc-meta { font-size: 0.75rem; color: var(--text-muted); }

/* Blog Sidebar */
.blog-sidebar { }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--text);
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--green);
}
.search-input {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.search-input input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  background: var(--ivory);
}
.search-input button {
  background: var(--green);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
}
.category-list { list-style: none; }
.category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  cursor: pointer;
  transition: color var(--transition);
}
.category-list li:last-child { border-bottom: none; }
.category-list li:hover { color: var(--green); }
.cat-count {
  background: var(--green-light);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
.recent-post { display: flex; gap: 0.8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.recent-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.rp-thumb {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.rp-info h4 { font-size: 0.84rem; font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.rp-info span { font-size: 0.74rem; color: var(--text-muted); }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-pill {
  background: var(--ivory);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  border: none;
  color: var(--text-muted);
}
.tag-pill:hover { background: var(--green-light); color: var(--green); }
.cta-widget {
  background: linear-gradient(135deg, var(--green-dark), var(--green)) !important;
  color: var(--white);
  text-align: center;
}
.cta-widget h3 { color: var(--white); border-bottom-color: var(--gold); }
.cta-widget p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; line-height: 1.7; }

/* Blog Modal */
.blog-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.blog-modal-overlay.active { display: flex; }
.blog-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--ivory);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: #fee; }
.modal-header-img {
  height: 200px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  margin-bottom: 1.5rem;
}
.modal-category { margin-bottom: 0.8rem; }
.modal-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.8rem; line-height: 1.3; }
.modal-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.modal-content { font-size: 0.95rem; color: var(--text-muted); line-height: 1.9; }
.modal-content p { margin-bottom: 1rem; }
.modal-content h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); margin: 1.5rem 0 0.5rem; }
.modal-cta { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  color: var(--text);
}
.page-btn:hover, .page-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 40px; min-height: auto; }
  .hero-image { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .trust-bar { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 0;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 24px; width: 100%; display: block; border-radius: 0; }
  .hamburger { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; border-left: 3px solid var(--green); margin-left: 24px; border-radius: 0; display: block; background: var(--ivory); }
  .contact-strip-grid { grid-template-columns: 1fr; }
  .cs-map { display: none; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .why-card-wrap { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}