/* ═══════════════════════════════════════════════════════════
   HOME PAGE — Premium Landing + Web GIS Experience
   karataykentseldonusum.com (Karatay Warm Amber & Bronze Identity)
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens (Karatay Theme) ─── */
:root {
  --home-bg: #faf8f5;
  --home-surface: #ffffff;
  --home-text: #1c140e;
  --home-text-sub: #3d2c20;
  --home-text-muted: #786455;
  --home-accent: #2a1b12;
  --home-accent-light: #3f291c;
  --home-primary: #d97706;
  --home-primary-hover: #b45309;
  --home-gold: #f59e0b;
  --home-gold-light: #fbbf24;
  --home-border: #ebdcd0;
  --home-shadow-sm: 0 2px 8px rgba(42, 27, 18, 0.05);
  --home-shadow-md: 0 8px 32px rgba(42, 27, 18, 0.08);
  --home-shadow-lg: 0 16px 48px rgba(42, 27, 18, 0.12);
  --home-glass: rgba(255, 255, 255, 0.90);
  --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.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(235, 220, 208, 0.8);
  height: 68px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  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-primary);
  background: rgba(217, 119, 6, 0.08);
}

.home-nav a.active {
  color: var(--home-primary);
  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-primary); }
.phone-icon { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Map + KPI + Drawer architecture
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 68px);
  min-height: 540px;
  max-height: 780px;
  margin-top: 68px;
  overflow: hidden;
}

#harita {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Leaflet Tile Tweaks */
.leaflet-tile-pane {
  filter: saturate(1.08) contrast(1.02);
}

/* KPI Floating Bar */
.kpi-bar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  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(235, 220, 208, 0.8);
  border-radius: 50px;
  padding: 6px 10px;
  box-shadow: var(--home-shadow-md);
  pointer-events: auto;
  user-select: none;
}

.kpi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  white-space: nowrap;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--home-primary);
  line-height: 1;
}

.kpi-shield {
  font-size: 1.1rem;
}

.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--home-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-divider {
  width: 1px;
  height: 28px;
  background: var(--home-border);
}

/* Filter Pills on Map */
.filter-pills {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 90vw;
  padding: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  pointer-events: auto;
}

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

.filter-pills .pill {
  background: var(--home-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 220, 208, 0.8);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-text-sub);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: var(--home-shadow-sm);
}

.filter-pills .pill:hover {
  border-color: var(--home-primary);
  color: var(--home-primary);
  background: #ffffff;
  transform: translateY(-1px);
}

.filter-pills .pill.active {
  background: var(--home-accent);
  color: #ffffff;
  border-color: var(--home-accent);
  box-shadow: 0 4px 14px rgba(42, 27, 18, 0.25);
}

/* ═══════════════════════════════════════════════════════════
   LEAFLET CUSTOM MARKER (Modern GIS Pin)
   ═══════════════════════════════════════════════════════════ */
.custom-leaflet-icon {
  background: none !important;
  border: none !important;
}

.marker-pin-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.marker-pin {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  background: var(--home-accent);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(42, 27, 18, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #ffffff;
}

.marker-pin span {
  transform: rotate(45deg);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.marker-pulse {
  position: absolute;
  top: -4px; left: -4px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.marker-pin-wrap.active .marker-pulse {
  animation: markerPulse 2s infinite ease-out;
  opacity: 1;
}

.marker-pin-wrap.active .marker-pin {
  background: var(--home-primary);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}

.marker-pin-wrap:hover .marker-pin {
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
  background: var(--home-primary);
}

.marker-label {
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--home-accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(235, 220, 208, 0.6);
}

.marker-pin-wrap.selected .marker-pin {
  background: var(--home-gold);
  transform: rotate(-45deg) scale(1.2);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

@keyframes markerPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Leaflet Tooltip Custom */
.leaflet-tooltip.mahalle-tooltip {
  background: rgba(42, 27, 18, 0.92);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.leaflet-tooltip-top.mahalle-tooltip:before {
  border-top-color: rgba(42, 27, 18, 0.92);
}

/* ═══════════════════════════════════════════════════════════
   OFFCANVAS PROJECT DRAWER
   ═══════════════════════════════════════════════════════════ */
.project-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100%;
  background: var(--home-surface);
  z-index: 600;
  box-shadow: -8px 0 36px rgba(42, 27, 18, 0.14);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--home-border);
}

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

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--home-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--home-bg);
}

.drawer-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--home-accent);
}

.drawer-subtitle {
  font-size: 0.78rem;
  color: var(--home-text-muted);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  color: var(--home-text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.drawer-close:hover {
  background: var(--home-accent);
  color: #ffffff;
  border-color: var(--home-accent);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Drawer Project Cards */
.drawer-project {
  background: var(--home-bg);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-sm);
  padding: 16px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.drawer-project:hover {
  border-color: var(--home-primary);
  background: #ffffff;
  box-shadow: var(--home-shadow-md);
  transform: translateY(-2px);
}

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

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

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

.drawer-progress-wrap {
  width: 100%;
  height: 6px;
  background: var(--home-border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.drawer-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--home-primary), var(--home-gold));
  border-radius: 3px;
  transition: width 0.6s ease;
}

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

/* Drawer Empty State */
.drawer-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--home-text-muted);
}

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

.drawer-empty p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   VITRIN PROJELER (FEATURED PROJECTS SECTION)
   ═══════════════════════════════════════════════════════════ */
.featured-section {
  padding: 80px 0;
  background: var(--home-surface);
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--home-primary);
  background: rgba(217, 119, 6, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--home-accent);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--home-text-muted);
  line-height: 1.6;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.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.16, 1, 0.3, 1);
  box-shadow: var(--home-shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-lg);
  border-color: rgba(217, 119, 6, 0.4);
}

.featured-card-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #ede6df;
}

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

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

.featured-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #ede6df, #e0d4ca);
}

.featured-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(42, 27, 18, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.featured-card-badge.progress-badge {
  background: var(--home-primary);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

.featured-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--home-accent);
  margin-bottom: 8px;
  line-height: 1.35;
}

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

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

.featured-card-progress {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--home-border);
}

.featured-card-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--home-border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.featured-card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--home-primary), var(--home-gold));
  border-radius: 3px;
}

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

.featured-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--home-text-muted);
}

/* ═══════════════════════════════════════════════════════════
   4 ADIMDA DÖNÜŞÜM SÜRECİ
   ═══════════════════════════════════════════════════════════ */
.steps-section {
  padding: 80px 0;
  background: var(--home-bg);
}

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

.step-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--home-shadow-sm);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow-md);
  border-color: var(--home-primary);
}

.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(217, 119, 6, 0.15);
  line-height: 1;
}

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

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

.step-card p {
  font-size: 0.84rem;
  color: var(--home-text-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   KİRA YARDIMI & CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 80px 0;
  background: var(--home-surface);
}

.cta-card {
  background: linear-gradient(135deg, var(--home-accent) 0%, #3f291c 50%, var(--home-accent) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--home-shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.cta-content .section-tag {
  background: rgba(245, 158, 11, 0.2);
  color: var(--home-gold-light);
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--home-primary), var(--home-gold));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.home-footer {
  background: var(--home-accent);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(235, 220, 208, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-brand .logo img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-links-col a,
.footer-contact-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links-col a:hover,
.footer-contact-col a:hover {
  color: var(--home-gold-light);
}

.footer-contact-col span {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE & RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--home-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .home-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--home-surface);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--home-shadow-lg);
    border-bottom: 1px solid var(--home-border);
  }

  .home-nav.active { display: flex; }
  .home-nav a { width: 100%; padding: 12px 16px; }
  .home-nav .mobile-phone-link { display: block; color: var(--home-primary); font-weight: 700; }
  .header-phone-link { display: none; }
  .menu-toggle { display: flex; }

  .hero-section { height: 600px; }

  .kpi-bar {
    top: 12px;
    width: calc(100% - 24px);
    justify-content: space-around;
    padding: 6px 4px;
    border-radius: 12px;
  }

  .kpi-item { padding: 0 8px; }
  .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; }
}
