/* ===== eSIM City Landing Pages — Shared Styles ===== */

/* ─── Hero ─── */
.city-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background: linear-gradient(135deg, #042a0c 0%, #073d12 100%);
}

.city-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.city-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.city-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0;
}

.city-hero-badge {
  display: inline-block;
  background: rgba(47, 177, 71, 0.15);
  border: 1px solid rgba(47, 177, 71, 0.3);
  color: #2fb147;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.city-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}

.city-hero .hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 16px;
}

.city-hero .hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.city-hero .hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.city-hero .btn-outline-white,
.cta-section .btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
  font-weight: 600;
}

.city-hero .btn-outline-white:hover,
.cta-section .btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
}

/* ─── Why eSIM Section ─── */
.city-why-section {
  background: #f8fdf9;
}

.city-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.city-why-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.city-why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(47, 177, 71, 0.08);
  border: 2px solid rgba(47, 177, 71, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.city-why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 8px;
}

.city-why-card p {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.6;
}

/* ─── How It Works ─── */
.city-steps-section {
  background: #fff;
  text-align: center;
}

.city-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.city-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 220px;
}

.city-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2fb147;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.city-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #042a0c;
  margin-bottom: 6px;
}

.city-step p {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.55;
}

.city-step-arrow {
  flex-shrink: 0;
  padding: 0 12px;
  margin-bottom: 40px;
}

/* ─── Features ─── */
.city-features-section {
  background: #f8fdf9;
}

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

.city-feature-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.city-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(47, 177, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.city-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #212529;
}

.city-feature-card p {
  font-size: 0.93rem;
  color: #495057;
  line-height: 1.6;
}

/* ─── FAQ ─── */
.city-faq-section {
  background: #fff;
}

.city-faq-list {
  max-width: 760px;
  margin: 40px auto 0;
}

.city-faq-item {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.city-faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.city-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  text-align: left;
  gap: 12px;
}

.city-faq-q:hover {
  background: #f8f9fa;
}

.city-faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: #495057;
}

.city-faq-item.active .city-faq-arrow {
  transform: rotate(180deg);
}

.city-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.city-faq-item.active .city-faq-a {
  max-height: 300px;
  padding: 0 24px 18px;
}

.city-faq-a p {
  font-size: 0.93rem;
  color: #495057;
  line-height: 1.7;
}

/* ─── Also Popular (Cross-links) ─── */
.city-also-section {
  background: #f8fdf9;
}

.city-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.city-also-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.city-also-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.city-also-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.city-also-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
}

.city-also-country {
  font-size: 0.78rem;
  color: #6c757d;
  margin-top: 2px;
}

.city-also-all {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.city-also-all a {
  color: #2fb147;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.city-also-all a:hover {
  text-decoration: underline;
}

/* ─── Destinations Grid ─── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.dest-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.dest-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

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

.dest-card-info {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.dest-card-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.dest-card-info span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .city-hero {
    min-height: auto;
  }

  .city-hero-inner {
    padding: 48px 0;
  }

  .city-why-grid {
    grid-template-columns: 1fr;
  }

  .city-features-grid {
    grid-template-columns: 1fr;
  }

  .city-faq-q {
    padding: 16px 18px;
    font-size: 0.93rem;
  }
}

@media (max-width: 640px) {
  .city-steps {
    flex-direction: column;
    gap: 4px;
  }

  .city-step-arrow {
    transform: rotate(90deg);
    margin-bottom: 0;
  }

  .city-step {
    max-width: 100%;
  }
}
