/* ═══════════════════════════════════════════════════════════
   HOME PAGE — Premium Landing + Web GIS Experience
   meramkentseldonusum.com
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens (Home-specific overrides) ─── */
:root {
  --home-bg: #f5f7f6;
  --home-surface: #ffffff;
  --home-text: #1c3d2e;
  --home-text-sub: #4a5c52;
  --home-text-muted: #8a9a92;
  --home-accent: #1c3d2e;
  --home-gold: #c9a84c;
  --home-gold-light: #dabb6a;
  --home-border: #dde3df;
  --home-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --home-shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --home-shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --home-glass: rgba(255,255,255,0.85);
  --home-radius: 16px;
  --home-radius-sm: 10px;
}

/* ─── Base ─── */
body.home-page {
  background: var(--home-bg);
  color: var(--home-text);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   HEADER — Glassmorphic floating nav
   ═══════════════════════════════════════════════════════════ */
.home-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(221,227,223,0.6);
  height: 68px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.home-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--home-shadow-sm);
}

.home-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.home-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--home-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.home-header .logo img {
  height: 38px;
  width: auto;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-nav a {
  color: var(--home-text-sub);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.home-nav a:hover { color: var(--home-accent); background: rgba(28,61,46,0.05); }
.home-nav a.active { color: var(--home-accent); font-weight: 600; }
.home-nav .mobile-phone-link { display: none; }

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone-link {
  color: var(--home-text-sub);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.header-phone-link:hover { color: var(--home-gold); }
.phone-icon { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Map + KPI + Drawer architecture
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  margin-top: 68px;
  height: calc(100vh - 68px);
  min-height: 520px;
  max-height: 800px;
  display: flex;
  flex-direction: column;
}

/* KPI Bar */
.kpi-bar {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--home-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(221,227,223,0.7);
  border-radius: 14px;
  padding: 10px 28px;
  box-shadow: var(--home-shadow-md);
}

.kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--home-accent);
  line-height: 1.1;
}

.kpi-value.kpi-shield { font-size: 1.2rem; }

.kpi-label {
  font-size: 0.7rem;
  color: var(--home-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.kpi-divider {
  width: 1px;
  height: 32px;
  background: var(--home-border);
  flex-shrink: 0;
}

/* Filter Pills */
.filter-pills {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--home-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(221,227,223,0.5);
  box-shadow: var(--home-shadow-sm);
  max-width: calc(100vw - 32px);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar { display: none; }

.pill {
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--home-text-sub);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pill:hover { background: rgba(28,61,46,0.06); }

.pill.active {
  background: var(--home-accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(28,61,46,0.25);
}

/* Map Container */
#harita {
  flex: 1;
  width: 100%;
  z-index: 1;
  background: var(--home-bg);
}

.leaflet-container { background: var(--home-bg) !important; }

/* ═══════════════════════════════════════════════════════════
   PROJECT DRAWER — Offcanvas side panel
   ═══════════════════════════════════════════════════════════ */
.project-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  z-index: 700;
  background: var(--home-surface);
  border-left: 1px solid var(--home-border);
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--home-border);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--home-accent), #2a5a42);
  color: #fff;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.drawer-subtitle {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  display: block;
}

.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.drawer-close:hover { background: rgba(255,255,255,0.25); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--home-text-muted);
  padding: 40px 20px;
}

.drawer-empty-icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.6; }

.drawer-empty p { font-size: 0.9rem; line-height: 1.6; }

/* Drawer Project Cards */
.drawer-project {
  background: var(--home-bg);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.drawer-project:hover {
  border-color: var(--home-gold);
  box-shadow: var(--home-shadow-sm);
  transform: translateY(-1px);
}

.drawer-project:last-child { margin-bottom: 0; }

.drawer-project-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--home-accent);
  margin-bottom: 8px;
}

.drawer-project-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--home-text-sub);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.drawer-project-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.drawer-progress-wrap {
  background: #e8ede9;
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}

.drawer-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--home-gold), var(--home-gold-light));
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.drawer-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--home-text-muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   MAP MARKERS — Custom SVG/CSS markers
   ═══════════════════════════════════════════════════════════ */
.custom-leaflet-icon { background: none !important; border: none !important; }

.marker-pin-wrap {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-pulse {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  animation: marker-pulse 2.2s infinite ease-in-out;
  pointer-events: none;
  display: none;
}

.marker-pin-wrap.active .marker-pulse { display: block; }

@keyframes marker-pulse {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.marker-pin {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #c3cbc7;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7c74;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}

.marker-pin-wrap.active .marker-pin {
  width: 32px; height: 32px;
  background: var(--home-accent);
  border-color: var(--home-gold);
  color: #ffffff;
  font-size: 0.8rem;
  box-shadow: 0 4px 16px rgba(28,61,46,0.35);
}

.marker-pin-wrap:hover .marker-pin {
  transform: scale(1.15) translateY(-2px);
  background: var(--home-gold);
  border-color: var(--home-accent);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.marker-pin-wrap.selected .marker-pin {
  width: 34px; height: 34px;
  background: var(--home-gold);
  border-color: var(--home-accent);
  color: var(--home-accent);
  box-shadow: 0 6px 20px rgba(201,168,76,0.5);
}

.marker-label {
  position: absolute;
  bottom: -20px;
  background: #ffffff;
  border: 1px solid var(--home-border);
  color: var(--home-text-sub);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  z-index: 1;
  pointer-events: none;
}

.marker-pin-wrap.active .marker-label {
  color: var(--home-accent);
  border-color: var(--home-accent);
  font-size: 0.72rem;
}

.marker-pin-wrap:hover .marker-label {
  background: var(--home-accent);
  color: #ffffff;
  border-color: var(--home-accent);
}

.marker-pin-wrap.selected .marker-label {
  background: var(--home-gold);
  color: var(--home-accent);
  border-color: var(--home-gold);
  font-weight: 700;
}

/* Tooltip */
.mahalle-tooltip {
  background: var(--home-surface) !important;
  border: 1.5px solid var(--home-accent) !important;
  color: var(--home-accent) !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  font-family: var(--font-body) !important;
  box-shadow: var(--home-shadow-md) !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
}

.mahalle-tooltip::before { border-top-color: var(--home-accent) !important; }

/* ═══════════════════════════════════════════════════════════
   FEATURED PROJECTS — Grid of project cards
   ═══════════════════════════════════════════════════════════ */
.featured-section {
  padding: 72px 0;
  background: var(--home-surface);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--home-accent);
}

.section-heading--center { text-align: center; }

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--home-gold);
  text-decoration: none;
  transition: gap 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover { color: var(--home-gold-light); gap: 8px; }

.section-desc {
  text-align: center;
  color: var(--home-text-sub);
  font-size: 1rem;
  max-width: 560px;
  margin: -16px auto 48px;
  line-height: 1.6;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.featured-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px;
  color: var(--home-text-muted);
  font-size: 0.9rem;
}

.loading-spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--home-border);
  border-top-color: var(--home-gold);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* Featured Card */
.featured-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-lg);
  border-color: var(--home-gold);
  color: inherit;
}

.featured-card-img {
  height: 200px;
  background: linear-gradient(135deg, #e8ede9, #d4dbd6);
  overflow: hidden;
  position: relative;
}

.featured-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-card-img img { transform: scale(1.05); }

.featured-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--home-accent);
}

.featured-card-badge.progress-badge { background: var(--home-gold); color: var(--home-accent); }

.featured-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.4;
}

.featured-card-body { padding: 20px; }

.featured-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--home-accent);
  margin-bottom: 8px;
}

.featured-card-meta {
  font-size: 0.82rem;
  color: var(--home-text-sub);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-card-progress {
  background: #e8ede9;
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}

.featured-card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--home-gold), var(--home-gold-light));
  border-radius: 99px;
  transition: width 0.8s ease;
}

.featured-card-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--home-text-muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS — 4-step transformation
   ═══════════════════════════════════════════════════════════ */
.process-hero {
  padding: 80px 0;
  background: linear-gradient(170deg, var(--home-accent) 0%, #0d2418 100%);
  color: #ffffff;
}

.process-hero .section-heading { color: #ffffff; }
.process-hero .section-desc { color: rgba(255,255,255,0.65); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--home-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
}

.step-card:hover::before { opacity: 1; }

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon-big {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--home-gold);
}

.step-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 72px 0;
  background: var(--home-bg);
}

.cta-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--home-shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--home-gold), var(--home-accent));
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--home-accent);
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--home-text-sub);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-stat {
  background: var(--home-bg);
  border-radius: var(--home-radius-sm);
  padding: 16px 20px;
  text-align: center;
}

.cta-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--home-gold);
  display: block;
}

.cta-stat-label {
  font-size: 0.78rem;
  color: var(--home-text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   SEO CONTENT
   ═══════════════════════════════════════════════════════════ */
.seo-content {
  padding: 64px 0 40px;
  background: var(--home-surface);
  border-top: 1px solid var(--home-border);
}

.seo-content h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--home-accent);
  margin-bottom: 16px;
}

.seo-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--home-accent);
  margin: 28px 0 12px;
}

.seo-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--home-text-sub);
  margin-bottom: 16px;
}

.seo-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.seo-content li {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--home-text-sub);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.home-footer {
  background: var(--home-accent);
  color: #ffffff;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer-brand .logo img { height: 36px; filter: brightness(10); }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-top: 12px;
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--home-gold);
}

.footer-links-col a,
.footer-contact-col a,
.footer-contact-col span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links-col a:hover,
.footer-contact-col a:hover { color: #ffffff; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════
   KPI COUNT ANIMATION
   ═══════════════════════════════════════════════════════════ */
.kpi-value[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .project-drawer { width: 320px; }
}

@media (max-width: 768px) {
  .home-header { height: 60px; }
  .hero-section { margin-top: 60px; height: calc(100vh - 60px); }

  .home-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
  }

  .home-nav.active { display: flex; }

  .home-nav a {
    font-size: 1.15rem;
    padding: 14px 24px;
  }

  .home-nav .mobile-phone-link {
    display: block;
    color: var(--home-gold);
    font-weight: 600;
    border-top: 1px solid var(--home-border);
    margin-top: 12px;
    padding-top: 20px;
  }

  .home-header-actions { display: none; }

  .menu-toggle { display: block; }

  .kpi-bar {
    top: 8px;
    padding: 8px 12px;
    gap: 0;
    border-radius: 10px;
    width: calc(100% - 24px);
    max-width: 100%;
    left: 12px;
    transform: none;
    justify-content: center;
  }

  .kpi-item { padding: 0 10px; }
  .kpi-value { font-size: 1.1rem; }
  .kpi-label { font-size: 0.6rem; }

  .filter-pills {
    top: 68px;
    width: calc(100% - 24px);
    left: 12px;
    transform: none;
  }

  .project-drawer {
    width: 100%;
    top: auto;
    bottom: 0;
    height: 65vh;
    border-left: none;
    border-top: 1px solid var(--home-border);
    border-radius: var(--home-radius) var(--home-radius) 0 0;
    transform: translateY(100%);
  }

  .project-drawer.open { transform: translateY(0); }

  .featured-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { font-size: 1.3rem; }

  .cta-card { padding: 32px 24px; }
  .cta-content h2 { font-size: 1.4rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .kpi-item { padding: 0 6px; }
  .kpi-value { font-size: 0.95rem; }
  .kpi-divider { height: 24px; }
  .featured-card-img { height: 160px; }
}
