/* ========== RTA Standalone - Pure CSS - Matching Original Design ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Arabic', sans-serif;
  direction: rtl;
  background: #f5f5f5;
  color: #1B2A4A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 56px;
}
@media (min-width: 640px) { body { padding-bottom: 0; } }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }
img { max-width: 100%; display: block; }

/* ========== HEADER ========== */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
@media (min-width: 640px) { .header-inner { padding: 0 16px; height: 64px; } }
@media (min-width: 1024px) { .header-inner { padding: 0 32px; height: 72px; } }

.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-box {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #BE1E2D, #8B1520);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 11px;
}
@media (min-width: 640px) { .logo-box { width: 42px; height: 42px; font-size: 13px; border-radius: 10px; } }
.logo-text h1 { font-size: 12px; font-weight: 800; color: #1B2A4A; line-height: 1.2; }
.logo-text p { font-size: 9px; color: #888; font-weight: 500; }
@media (min-width: 640px) { .logo-text h1 { font-size: 14px; } .logo-text p { font-size: 10px; } }

.header-nav { display: none; gap: 24px; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.header-nav a {
  font-size: 13px; font-weight: 600; color: #555;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.header-nav a:hover { color: #BE1E2D; border-bottom-color: #BE1E2D; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  padding: 6px 14px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
  background: #f5f5f5; color: #555;
  transition: all 0.2s;
}
.lang-btn:hover { background: #e5e5e5; }
.search-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.search-btn:hover { background: #e5e5e5; }

/* ========== HERO ========== */
.hero { position: relative; overflow: hidden; }
.hero-illustration {
  position: relative;
  height: 280px;
  overflow: hidden;
}
@media (min-width: 640px) { .hero-illustration { height: 400px; } }
@media (min-width: 1024px) { .hero-illustration { height: 560px; } }

.hero-sky {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #f5e8c8, #e8d8b8, #d8c8a8);
}
.hero-sun {
  position: absolute; top: 10%; right: 25%;
  width: 100px; height: 100px;
  background: #f5e0a0; border-radius: 50%;
  opacity: 0.3; filter: blur(30px);
}
@media (min-width: 640px) { .hero-sun { width: 160px; height: 160px; } }

.hero-buildings {
  position: absolute; bottom: 38%; left: 0; right: 0;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 2px; padding: 0 8px;
}
@media (min-width: 640px) { .hero-buildings { bottom: 35%; gap: 4px; padding: 0 16px; } }
.building { background: #9a8e7e; border-radius: 2px 2px 0 0; }

.hero-road {
  position: absolute; bottom: 17%; left: 0; right: 0; height: 12%;
  background: #6b6358;
}
@media (min-width: 640px) { .hero-road { bottom: 15%; height: 13%; } }
.road-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 2px;
  display: flex; gap: 12px; padding: 0 16px;
}
.road-dash { width: 24px; height: 100%; background: rgba(255,255,255,0.4); flex-shrink: 0; }

.hero-tram-track {
  position: absolute; bottom: 10%; left: 0; right: 0; height: 7%;
  background: #b8b0a0;
}
@media (min-width: 640px) { .hero-tram-track { bottom: 8%; } }

.hero-water {
  position: absolute; bottom: 0; left: 0; right: 0; height: 10%;
  background: linear-gradient(to bottom, #4a8ab0, #3a7090);
}
@media (min-width: 640px) { .hero-water { height: 8%; } }

.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.3), transparent);
  padding: 64px 0 16px;
}
@media (min-width: 640px) { .hero-overlay { padding: 96px 0 24px; } }
@media (min-width: 1024px) { .hero-overlay { padding: 128px 0 32px; } }
.hero-content {
  max-width: 1400px; margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 640px) { .hero-content { padding: 0 16px; } }
@media (min-width: 1024px) { .hero-content { padding: 0 32px; } }
.hero-slide { max-width: 560px; }
.hero-slide h2 {
  font-size: 16px; font-weight: 800; color: #fff;
  margin-bottom: 4px; line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (min-width: 640px) { .hero-slide h2 { font-size: 20px; margin-bottom: 8px; } }
@media (min-width: 1024px) { .hero-slide h2 { font-size: 30px; } }
.hero-slide p {
  font-size: 12px; color: rgba(255,255,255,0.9);
  margin-bottom: 8px; display: none;
}
@media (min-width: 640px) { .hero-slide p { display: block; font-size: 14px; margin-bottom: 16px; } }
.hero-cta {
  padding: 6px 16px; background: #fff; color: #1B2A4A;
  font-weight: 700; font-size: 12px; border-radius: 4px;
  transition: background 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
@media (min-width: 640px) { .hero-cta { padding: 10px 24px; font-size: 14px; } }
.hero-cta:hover { background: #f0f0f0; }

.hero-nav {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; gap: 8px;
}
@media (min-width: 640px) { .hero-nav { bottom: 64px; gap: 12px; } }
.hero-nav-btn {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.3); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.2s; font-size: 14px;
}
@media (min-width: 640px) { .hero-nav-btn { width: 32px; height: 32px; } }
.hero-nav-btn:hover { background: rgba(255,255,255,0.5); }
.hero-dots { display: flex; gap: 4px; }
.hero-dot {
  height: 4px; border-radius: 4px; background: rgba(255,255,255,0.4);
  width: 8px; transition: all 0.3s; cursor: pointer;
}
.hero-dot.active { background: #fff; width: 16px; }
@media (min-width: 640px) { .hero-dot { height: 6px; width: 12px; } .hero-dot.active { width: 24px; } }

/* ========== SERVICE LIST - Wide buttons like original ========== */
.service-bar {
  background: #fff;
  padding: 16px 0;
}
@media (min-width: 640px) { .service-bar { padding: 24px 0; } }
.service-bar-inner {
  max-width: 700px; margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 640px) { .service-bar-inner { padding: 0 16px; } }
@media (min-width: 1024px) { .service-bar-inner { padding: 0 32px; } }

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-wrapper {
  position: relative;
}

.service-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: all 0.2s;
  text-align: right;
}
.service-card:hover {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.service-card.active {
  border-color: #BE1E2D;
  box-shadow: 0 2px 12px rgba(190,30,45,0.1);
}
.svc-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
@media (min-width: 640px) { .svc-icon { width: 42px; height: 42px; } }
.service-card span {
  font-size: 14px; font-weight: 700; color: #333;
  flex: 1;
}
@media (min-width: 640px) { .service-card span { font-size: 16px; } }

/* Service popup - dropdown form */
.service-popup {
  display: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  animation: slideDown 0.2s ease;
}
.service-popup.active { display: block; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.popup-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.popup-header-info { display: flex; align-items: center; gap: 8px; }
.popup-header-info svg { width: 24px; height: 24px; }
.popup-header-info span { font-size: 14px; font-weight: 700; color: #333; }
.popup-close {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f0f0f0; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: #e0e0e0; }
.popup-body { padding: 16px; }
.popup-body fieldset { border: none; margin-bottom: 12px; }
.popup-body legend { font-size: 12px; font-weight: 700; color: #888; margin-bottom: 4px; display: block; }
.popup-body input, .popup-body select {
  width: 100%; border: 1px solid #ddd; border-radius: 8px;
  padding: 10px 12px; font-size: 14px;
  transition: border-color 0.2s;
}
.popup-body input:focus, .popup-body select:focus { border-color: #BE1E2D; box-shadow: 0 0 0 2px rgba(190,30,45,0.1); }
.popup-body .btn-primary {
  width: 100%; padding: 12px; background: #BE1E2D; color: #fff;
  font-weight: 700; font-size: 14px; border-radius: 8px;
  transition: background 0.2s; margin-top: 4px;
}
.popup-body .btn-primary:hover { background: #a01825; }
.popup-body .radio-group { display: flex; gap: 16px; margin-bottom: 8px; }
.popup-body .radio-group label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }

/* ========== SECTIONS ========== */
.section { padding: 32px 0; }
@media (min-width: 640px) { .section { padding: 48px 0; } }
.section-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 640px) { .section-inner { padding: 0 16px; } }
@media (min-width: 1024px) { .section-inner { padding: 0 32px; } }
.section-title {
  font-size: 18px; font-weight: 800; color: #1B2A4A;
  margin-bottom: 2px;
}
@media (min-width: 640px) { .section-title { font-size: 24px; margin-bottom: 4px; } }
.section-subtitle {
  font-size: 12px; color: #888; margin-bottom: 16px;
}
@media (min-width: 640px) { .section-subtitle { font-size: 14px; margin-bottom: 24px; } }
.section-gray { background: #f5f5f5; }
.section-white { background: #fff; }

/* Card grid */
.card-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; padding-bottom: 8px;
  margin: 0 -12px; padding-left: 12px; padding-right: 12px;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.card-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
  .card-scroll {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 20px; overflow: visible; margin: 0; padding: 0;
  }
}
@media (min-width: 1024px) { .card-scroll { grid-template-columns: repeat(3, 1fr); } }

/* Campaign card */
.campaign-card {
  flex-shrink: 0; width: 260px;
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer; transition: all 0.3s; background: #fff;
}
@media (min-width: 640px) { .campaign-card { width: auto; border-radius: 12px; } }
.campaign-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.campaign-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.campaign-card:hover img { transform: scale(1.05); }
.campaign-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1), transparent);
}
.campaign-card .card-text {
  position: absolute; bottom: 0; right: 0; left: 0;
  padding: 12px;
}
@media (min-width: 640px) { .campaign-card .card-text { padding: 20px; } }
.campaign-card h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
@media (min-width: 640px) { .campaign-card h3 { font-size: 18px; margin-bottom: 4px; } }
.campaign-card .desc { font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
@media (min-width: 640px) { .campaign-card .desc { font-size: 14px; margin-bottom: 8px; } }
.campaign-card .read-more { font-size: 12px; color: #fff; font-weight: 600; }
@media (min-width: 640px) { .campaign-card .read-more { font-size: 14px; } }

/* Press release card */
.press-card {
  flex-shrink: 0; width: 240px;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid #f0f0f0;
  cursor: pointer; transition: all 0.3s;
}
@media (min-width: 640px) { .press-card { width: auto; border-radius: 12px; } }
.press-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.press-card .img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.press-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.press-card:hover img { transform: scale(1.05); }
.press-card .date-badge {
  position: absolute; top: 8px; left: 8px;
  background: #BE1E2D; color: #fff;
  padding: 4px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 700;
}
@media (min-width: 640px) { .press-card .date-badge { top: 12px; left: 12px; padding: 6px 12px; font-size: 12px; } }
.press-card .card-body { padding: 12px; }
@media (min-width: 640px) { .press-card .card-body { padding: 20px; } }
.press-card .date-text { font-size: 10px; color: #bbb; margin-bottom: 4px; }
@media (min-width: 640px) { .press-card .date-text { font-size: 12px; margin-bottom: 8px; } }
.press-card h3 {
  font-size: 12px; font-weight: 700; color: #1B2A4A;
  line-height: 1.6; transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 640px) { .press-card h3 { font-size: 14px; } }
.press-card:hover h3 { color: #BE1E2D; }
.press-card .read-more {
  display: inline-block; margin-top: 8px;
  font-size: 12px; color: #BE1E2D; font-weight: 600;
}
@media (min-width: 640px) { .press-card .read-more { margin-top: 12px; font-size: 14px; } }

/* Project card */
.project-card {
  flex-shrink: 0; width: 220px;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid #f0f0f0;
  cursor: pointer; transition: all 0.3s;
}
@media (min-width: 640px) { .project-card { width: auto; border-radius: 12px; } }
.project-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.project-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s; }
.project-card:hover img { transform: scale(1.05); }
.project-card .card-body { padding: 12px; }
@media (min-width: 640px) { .project-card .card-body { padding: 20px; } }
.project-card h3 { font-size: 12px; font-weight: 700; color: #1B2A4A; transition: color 0.2s; }
@media (min-width: 640px) { .project-card h3 { font-size: 14px; } }
.project-card:hover h3 { color: #BE1E2D; }
.project-card .read-more {
  display: inline-block; margin-top: 6px;
  font-size: 12px; color: #BE1E2D; font-weight: 600;
}

/* Section button */
.section-btn {
  display: block; margin: 20px auto 0;
  padding: 8px 20px; border: 2px solid #1B2A4A;
  color: #1B2A4A; font-size: 12px; font-weight: 700;
  border-radius: 4px; background: transparent;
  transition: all 0.2s;
}
@media (min-width: 640px) { .section-btn { margin-top: 32px; padding: 10px 32px; font-size: 14px; } }
.section-btn:hover { background: #1B2A4A; color: #fff; }

/* ========== SMART APPS ========== */
.apps-tabs {
  display: flex; gap: 0; border-bottom: 1px solid #e5e5e5;
  margin-bottom: 16px; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.apps-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .apps-tabs { margin-bottom: 24px; } }
.apps-tab {
  padding: 8px 12px; font-size: 12px; font-weight: 700;
  color: #888; background: transparent;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px; white-space: nowrap;
  transition: all 0.2s;
}
@media (min-width: 640px) { .apps-tab { padding: 12px 20px; font-size: 14px; } }
.apps-tab.active { color: #BE1E2D; border-bottom-color: #BE1E2D; }
.apps-tab:hover { color: #1B2A4A; }
.apps-content { display: grid; gap: 24px; }
@media (min-width: 1024px) { .apps-content { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }
.app-icon-box {
  width: 40px; height: 40px; background: #BE1E2D; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 14px;
  box-shadow: 0 4px 12px rgba(190,30,45,0.3);
}
@media (min-width: 640px) { .app-icon-box { width: 56px; height: 56px; font-size: 18px; border-radius: 12px; } }
.app-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin: 16px 0;
}
@media (min-width: 640px) { .app-features { gap: 8px; margin: 24px 0; } }
.app-feature {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #1B2A4A;
}
@media (min-width: 640px) { .app-feature { gap: 8px; font-size: 14px; } }
.app-feature::before {
  content: ''; width: 4px; height: 4px;
  background: #BE1E2D; border-radius: 50%; flex-shrink: 0;
}
@media (min-width: 640px) { .app-feature::before { width: 6px; height: 6px; } }
.download-btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 640px) { .download-btns { gap: 12px; } }
.download-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; background: #000; color: #fff;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  transition: background 0.2s;
}
@media (min-width: 640px) { .download-btn { padding: 10px 20px; gap: 8px; font-size: 14px; } }
.download-btn:hover { background: #333; }

/* Phone mockup */
.phone-mockup { display: none; justify-content: center; }
@media (min-width: 1024px) { .phone-mockup { display: flex; } }
.phone-frame {
  width: 260px; height: 520px;
  background: #1B2A4A; border-radius: 40px;
  padding: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.phone-screen {
  width: 100%; height: 100%;
  background: #fff; border-radius: 32px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.phone-logo {
  background: #BE1E2D; color: #fff;
  padding: 16px 32px; border-radius: 12px;
  font-weight: 900; font-size: 24px;
  margin-bottom: 16px; box-shadow: 0 4px 12px rgba(190,30,45,0.3);
}

/* ========== NEWSLETTER ========== */
.newsletter-form {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 640px) { .newsletter-form { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .newsletter-form { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } }
.newsletter-form label { display: block; font-size: 12px; font-weight: 600; color: #1B2A4A; margin-bottom: 4px; }
@media (min-width: 640px) { .newsletter-form label { font-size: 14px; margin-bottom: 6px; } }
.newsletter-form .input-wrap { position: relative; }
.newsletter-form input {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 12px; background: #fff;
  transition: border-color 0.2s;
}
@media (min-width: 640px) { .newsletter-form input { padding: 12px 16px; font-size: 14px; } }
.newsletter-form input:focus { border-color: #BE1E2D; box-shadow: 0 0 0 2px rgba(190,30,45,0.1); }
.newsletter-submit {
  width: 100%; padding: 10px; background: #1B2A4A; color: #fff;
  font-weight: 600; border-radius: 8px; font-size: 12px;
  transition: background 0.2s;
}
@media (min-width: 640px) { .newsletter-submit { padding: 12px; font-size: 14px; } }
.newsletter-submit:hover { background: #2a3f6a; }

/* ========== ENGAGE ========== */
.engage-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (min-width: 1024px) { .engage-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.engage-card {
  background: #fff; padding: 12px; border-radius: 8px;
  border: 2px solid #e5e5e5; text-align: right;
  transition: all 0.2s; cursor: pointer;
}
@media (min-width: 640px) { .engage-card { padding: 20px; border-radius: 12px; } }
.engage-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.engage-card .icon-box {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
@media (min-width: 640px) { .engage-card .icon-box { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 12px; } }
.engage-card h3 { font-size: 12px; font-weight: 700; color: #1B2A4A; margin-bottom: 2px; line-height: 1.4; }
@media (min-width: 640px) { .engage-card h3 { font-size: 14px; margin-bottom: 6px; } }
.engage-card p { font-size: 10px; color: #888; line-height: 1.5; }
@media (min-width: 640px) { .engage-card p { font-size: 12px; } }

/* ========== FOOTER ========== */
.footer {
  background: #1B2A4A; color: #fff; padding: 32px 0 16px;
}
@media (min-width: 640px) { .footer { padding: 48px 0 24px; } }
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 640px) { .footer-inner { padding: 0 16px; } }
@media (min-width: 1024px) { .footer-inner { padding: 0 32px; } }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; } }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
@media (min-width: 640px) { .footer h4 { font-size: 16px; margin-bottom: 16px; } }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { font-size: 12px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
@media (min-width: 640px) { .footer a { font-size: 14px; } }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 8px;
}
.footer-bottom p { font-size: 10px; color: rgba(255,255,255,0.4); }
@media (min-width: 640px) { .footer-bottom p { font-size: 12px; } }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ========== JOURNEY PLANNER ========== */
.journey-tabs {
  display: flex; gap: 0; border-bottom: 1px solid #e5e5e5;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .journey-tabs { margin-bottom: 24px; } }
.journey-tab {
  padding: 10px 16px; font-size: 12px; font-weight: 700;
  color: #888; background: transparent;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px; transition: all 0.2s;
}
@media (min-width: 640px) { .journey-tab { padding: 12px 24px; font-size: 14px; } }
.journey-tab.active { color: #BE1E2D; border-bottom-color: #BE1E2D; }
.journey-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .journey-grid { grid-template-columns: 3fr 2fr; gap: 32px; } }
.journey-form { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .journey-form { gap: 16px; } }
.journey-form label { display: block; font-size: 12px; font-weight: 600; color: #1B2A4A; margin-bottom: 4px; }
@media (min-width: 640px) { .journey-form label { font-size: 14px; margin-bottom: 6px; } }
.journey-form input {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 12px; transition: border-color 0.2s;
}
@media (min-width: 640px) { .journey-form input { padding: 12px 16px; font-size: 14px; } }
.journey-form input:focus { border-color: #BE1E2D; box-shadow: 0 0 0 2px rgba(190,30,45,0.1); }
.journey-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.journey-mode {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 6px;
  background: #f5f5f5; font-size: 11px; font-weight: 600;
  color: #555; transition: all 0.2s; cursor: pointer;
}
.journey-mode.active { background: #1B2A4A; color: #fff; }
.journey-search-btn {
  width: 100%; padding: 12px; background: #BE1E2D; color: #fff;
  font-weight: 700; font-size: 14px; border-radius: 8px;
  transition: background 0.2s;
}
.journey-search-btn:hover { background: #a01825; }
.journey-image { border-radius: 12px; overflow: hidden; display: none; }
@media (min-width: 1024px) { .journey-image { display: block; } }

/* ========== MODAL ========== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: flex-end; justify-content: center;
}
@media (min-width: 640px) { .modal-overlay { align-items: center; padding: 16px; } }
.modal-overlay.active { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.modal-content {
  position: relative; background: #fff;
  border-radius: 16px 16px 0 0; width: 100%;
  max-height: 85vh; overflow-y: auto;
}
@media (min-width: 640px) {
  .modal-content { border-radius: 16px; max-width: 480px; max-height: 90vh; }
}
.modal-drag { display: flex; justify-content: center; padding: 8px 0 4px; }
@media (min-width: 640px) { .modal-drag { display: none; } }
.modal-drag span { width: 40px; height: 4px; background: #ddd; border-radius: 4px; }
.modal-close {
  position: absolute; top: 12px; left: 12px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
@media (min-width: 640px) { .modal-close { top: 16px; left: 16px; } }
.modal-close:hover { background: #e5e5e5; }
.modal-body { padding: 24px; }

/* ========== ANIMATIONS ========== */
@keyframes metroMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(calc(100vw + 100%)); } }
@keyframes busMove { 0% { transform: translateX(100%); } 100% { transform: translateX(calc(-100vw - 100%)); } }
@keyframes carMove { 0% { transform: translateX(-50%); } 100% { transform: translateX(calc(100vw + 50%)); } }
@keyframes tramMove { 0% { transform: translateX(100%); } 100% { transform: translateX(calc(-100vw - 100%)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.anim-metro { animation: metroMove 12s linear infinite; }
.anim-bus { animation: busMove 15s linear infinite; }
.anim-car { animation: carMove 10s linear infinite; }
.anim-tram { animation: tramMove 18s linear infinite; }
.anim-spin { animation: spin 1s linear infinite; }

/* ========== BOTTOM BAR (Mobile) ========== */
.bottom-bar {
  display: flex; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #e5e5e5;
  z-index: 40; padding: 4px 0;
}
@media (min-width: 640px) { .bottom-bar { display: none; } }
.bottom-bar a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px; padding: 6px 0;
  font-size: 9px; font-weight: 600; color: #888;
  transition: color 0.2s;
}
.bottom-bar a.active { color: #BE1E2D; }
.bottom-bar svg { width: 20px; height: 20px; }

/* Utility */
.hidden { display: none !important; }
.text-center { text-align: center; }

/* ========== SPINNER ========== */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid #BE1E2D;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
