/* ==============================================
   CITY PAGE — VietnamLife Platform
   Dark Theme · Hero · Quick Facts · Sticky Nav
   2026
============================================== */

/* ==============================================
   GLOBAL OVERRIDES FOR CITY CONTEXT
============================================== */

/* Hero sits directly under fixed header */
.single-city .site-main {
  padding-top: 0;
}

/* Header links over hero should be white */
.single-city .site-header:not(.scrolled) .site-logo .logo-vn,
.single-city .site-header:not(.scrolled) .site-logo .logo-life,
.single-city .site-header:not(.scrolled) .nav-menu > li > a {
  color: rgba(240, 236, 228, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.single-city .site-header:not(.scrolled) .burger__line {
  background: var(--clr-text);
}

/* ==============================================
   CITY HERO
============================================== */
.city-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 72svh;
  min-height: 72vh;
  background:
    var(--city-hero-bg, radial-gradient(circle at 20% 15%, #1e3a5f 0%, #0d1e35 60%, #080f1a 100%))
    center / cover no-repeat;
}

.city-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 12, 20, 0.35) 0%,
      rgba(8, 12, 20, 0.45) 40%,
      rgba(8, 12, 20, 0.75) 72%,
      rgba(8, 12, 20, 0.96) 100%
    );
  pointer-events: none;
}

/* Title block — fills available space, content at bottom */
.city-hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header-h);
  padding-bottom: var(--space-8);
}

.city-hero__kicker {
  margin: 0 0 var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.city-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ==============================================
   CITY HERO SERVICES GRID
============================================== */
.city-hero__services {
  margin-top: var(--space-8);
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.city-hero__services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.city-hero__services-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--clr-text);
}

.city-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.city-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  text-align: center;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.city-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(20, 184, 166, 0.35);
}

.city-service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.20);
  border-radius: var(--radius-md);
  color: var(--clr-accent);
  flex-shrink: 0;
  transition:
    background var(--transition-fast),
    transform var(--transition-base);
}

.city-service-card:hover .city-service-card__icon {
  background: rgba(20, 184, 166, 0.18);
  transform: scale(1.06);
}

.city-service-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.city-service-card:hover .city-service-card__name {
  color: var(--clr-accent);
}

.city-service-card__desc {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  line-height: 1.4;
}

/* ==============================================
   QUICK FACTS BAR
============================================== */
.city-hero__facts {
  position: relative;
  z-index: 1;
  background: rgba(10, 15, 24, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-5) 0;
}

.city-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.city-fact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-6);
}

.city-fact + .city-fact {
  border-left: 1px solid var(--glass-border);
}

.city-fact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--clr-accent);
}

.city-fact__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.city-fact__label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--clr-text-muted);
  white-space: nowrap;
}

.city-fact__value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
}

/* ==============================================
   STICKY SECTION NAVIGATION
============================================== */
.city-sticky-nav {
  position: sticky;
  top: var(--header-h);
  z-index: calc(var(--z-sticky) - 1);
  background: rgba(10, 15, 24, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.city-sticky-nav .container {
  overflow: hidden;
}

.city-sticky-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.city-sticky-nav__list::-webkit-scrollbar {
  display: none;
}

.city-sticky-nav__list li {
  flex-shrink: 0;
}

.city-nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--clr-text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.city-nav-link:hover {
  background: var(--glass-bg);
  color: var(--clr-text);
}

.city-nav-link.is-active,
.city-nav-link.active {
  background: var(--glass-bg-strong);
  color: var(--clr-text);
  box-shadow: 0 0 0 1px var(--glass-border-hover) inset;
}

/* ==============================================
   CITY MAIN CONTENT AREA
============================================== */
.city-main {
  padding: var(--space-8) 0 var(--space-16);
  content-visibility: auto;
  contain-intrinsic-size: 1px 1400px;
}

.city-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
  align-items: start;
}

/* ==============================================
   SECTIONS WRAPPER — scroll margin
============================================== */
:root {
  --city-snav-h: 52px;
}

.city-sections-wrapper article[id] {
  scroll-margin-top: calc(var(--header-h) + var(--city-snav-h) + var(--space-4));
}

/* ==============================================
   CONTENT SECTIONS
============================================== */
.city-section {
  margin-bottom: var(--space-4);
}

.city-section:last-child {
  margin-bottom: 0;
}

/* Dark glass card */
.city-section-article,
.city-section--split article {
  --section-card-bg: rgba(17, 24, 39, 0.7);
  position: relative;
  background: var(--section-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-6);
  overflow: hidden;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.city-section-article:hover,
.city-section--split article:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

/* Split section (link to dedicated page) */
.city-section--split article {
  --section-card-bg: rgba(20, 184, 166, 0.05);
  border-color: rgba(20, 184, 166, 0.2);
}

.city-section--split article:hover {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.08);
}

/* Section headings */
.city-section__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

.city-section__summary {
  margin: 0 0 var(--space-4);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--clr-text-muted);
}

.city-section__ext-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--clr-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-fast), opacity var(--transition-fast);
}

.city-section__ext-link:hover {
  gap: var(--space-3);
  opacity: 0.85;
}

/* ==============================================
   SECTION CONTENT TYPOGRAPHY (rich content)
============================================== */
.city-section-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--clr-text);
  margin: var(--space-6) 0 var(--space-3);
  letter-spacing: -0.015em;
}

.city-section-body h4 {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--clr-text);
  margin: var(--space-4) 0 var(--space-2);
}

.city-section-body p {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.78;
  color: var(--clr-text-muted);
  margin: 0 0 var(--space-4);
}

.city-section-body ul,
.city-section-body ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}

.city-section-body li {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-2);
}

.city-section-body a {
  color: var(--clr-accent);
  text-decoration: underline;
  text-decoration-color: rgba(20, 184, 166, 0.4);
  transition: text-decoration-color var(--transition-fast), opacity var(--transition-fast);
}

.city-section-body a:hover {
  text-decoration-color: var(--clr-accent);
}

.city-section-body strong {
  color: var(--clr-text);
  font-weight: 600;
}

.city-section-body blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  background: var(--glass-bg);
  border-left: 3px solid var(--clr-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--clr-text-muted);
}

.city-section-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: var(--space-4) 0;
}

/* ==============================================
   SECTION COLLAPSE
============================================== */
.city-section-article {
  --section-collapsed-max: 320px;
  display: flex;
  flex-direction: column;
}

.city-section-body {
  position: relative;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.city-section-article.is-collapsed .city-section-body {
  max-height: var(--section-collapsed-max);
}

.city-section-article.is-expanded .city-section-body {
  max-height: 24000px;
}

/* Dark fade gradient */
.city-section-article.is-collapsed .city-section-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--section-card-bg, rgba(17, 24, 39, 0.7)) 65%,
    var(--section-card-bg, rgba(17, 24, 39, 0.7))
  );
}

.city-section-article.no-toggle .city-section-body {
  max-height: none;
}
.city-section-article.no-toggle .city-section-body::after {
  display: none;
}

/* Expand / collapse button */
.city-section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--clr-text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.city-section-toggle:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-hover);
  color: var(--clr-text);
}

/* ==============================================
   TABLES (inside section content)
============================================== */
.city-section-body .prices-table,
.prices-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 15, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: var(--space-4) 0;
}

.prices-table thead {
  background: var(--glass-bg);
}

.prices-table th {
  text-align: left;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-subtle);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--glass-border);
}

.prices-table th:not(:first-child) {
  text-align: center;
}

.prices-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--glass-border);
  vertical-align: middle;
}

.prices-table td:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.prices-table td:first-child {
  font-weight: 500;
  color: var(--clr-text);
}

.prices-table tbody tr:hover {
  background: var(--glass-bg);
}

.prices-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==============================================
   NEWS SIDEBAR (desktop right column)
============================================== */
.city-news-sidebar {
  position: relative;
}

.city-news-sticky {
  position: sticky;
  top: calc(var(--header-h) + var(--city-snav-h) + var(--space-4));
  max-height: calc(100vh - var(--header-h) - var(--city-snav-h) - var(--space-8));
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;

  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.city-news-sticky::-webkit-scrollbar {
  display: none;
}

.city-news-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--glass-border);
}

.city-news-sidebar__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-text-subtle);
}

.city-news-sidebar__count {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--clr-text-subtle);
  background: var(--glass-bg);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.city-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* News card — horizontal compact */
.city-news-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--glass-border);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.city-news-card:last-child {
  border-bottom: none;
}

.city-news-card:hover {
  opacity: 0.82;
}

.city-news-card__media {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--glass-bg);
}

.city-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.city-news-card:hover .city-news-card__media img {
  transform: scale(1.08);
}

.city-news-card__body {
  flex: 1;
  min-width: 0;
}

.city-news-card__title {
  margin: 0 0 var(--space-1);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.city-news-card__excerpt {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--clr-text-subtle);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.city-news-sidebar__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.city-news-sidebar__more:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-hover);
  color: var(--clr-text);
}

/* ==============================================
   MOBILE INLINE NEWS (between sections)
============================================== */
.city-news-inline {
  display: none;
  margin-bottom: var(--space-4);
}

.city-news-inline__card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--transition-fast);
}

.city-news-inline__card:hover {
  border-color: var(--glass-border-hover);
}

.city-news-inline__media {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--glass-bg-strong);
}

.city-news-inline__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-news-inline__body {
  flex: 1;
  min-width: 0;
}

.city-news-inline__body h4 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.city-news-inline__body p {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--clr-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==============================================
   RESPONSIVE
============================================== */

/* ≤1280px — narrow sidebar */
@media (max-width: 1280px) {
  .city-content-grid {
    grid-template-columns: 1fr 280px;
  }
}

/* ≤1024px — single column, hide sidebar */
@media (max-width: 1024px) {
  .city-content-grid {
    grid-template-columns: 1fr;
  }

  .city-news-sidebar {
    display: none;
  }

  .city-news-inline {
    display: block;
  }

  .city-facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) 0;
  }

  .city-fact + .city-fact:nth-child(2) {
    border-left: 1px solid var(--glass-border);
  }

  .city-fact:nth-child(3) {
    border-top: 1px solid var(--glass-border);
  }

  .city-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ≤768px — mobile */
@media (max-width: 768px) {
  .city-hero {
    min-height: 68svh;
    min-height: 68vh;
  }

  .city-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .city-hero__services {
    margin-top: var(--space-6);
    padding: var(--space-5);
  }

  .city-hero__services-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .city-hero__facts {
    padding: var(--space-4) 0;
  }

  .city-fact {
    padding: 0 var(--space-4);
    gap: var(--space-2);
  }

  .city-fact__icon {
    width: 30px;
    height: 30px;
  }

  .city-main {
    padding: var(--space-6) 0 var(--space-12);
  }

  .city-section-article,
  .city-section--split article {
    padding: var(--space-5) var(--space-4);
  }

  .city-section__title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }

  .city-section-body h3 {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
  }
}

/* ≤580px — stack quick facts */
@media (max-width: 580px) {
  .city-fact__label,
  .city-fact__value {
    white-space: normal;
    overflow-wrap: anywhere;
  }

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

  .city-fact + .city-fact {
    border-left: none;
  }

  .city-fact:nth-child(even) {
    border-left: 1px solid var(--glass-border);
  }

  .city-fact:nth-child(3),
  .city-fact:nth-child(4) {
    border-top: 1px solid var(--glass-border);
  }
}

/* ≤480px — single column facts */
@media (max-width: 480px) {
  .city-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-service-card {
    padding: var(--space-4) var(--space-3);
    gap: var(--space-2);
  }

  .city-service-card__icon {
    width: 44px;
    height: 44px;
  }

  .city-facts-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .city-fact {
    padding: var(--space-3) var(--space-4);
    border-left: none !important;
    border-top: none !important;
  }

  .city-fact + .city-fact {
    border-top: 1px solid var(--glass-border) !important;
  }
}

/* ≤720px — responsive tables */
@media (max-width: 720px) {
  .prices-table thead {
    display: none;
  }

  .prices-table,
  .prices-table tbody,
  .prices-table tr,
  .prices-table td {
    display: block;
  }

  .prices-table tr {
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
    border: 1px solid var(--glass-border);
    overflow: hidden;
  }

  .prices-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--glass-border);
    text-align: right;
  }

  .prices-table td::before {
    content: attr(data-label);
    font-weight: 500;
    color: var(--clr-text-muted);
    text-align: left;
    flex-shrink: 0;
    margin-right: var(--space-4);
  }

  .prices-table td:last-child {
    border-bottom: none;
  }
}

/* ==============================================
   4.2  FEATURED LISTINGS (city page)
============================================== */
.city-rentals {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--glass-border);
}

.city-rentals__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.city-rentals__title {
  font-size: var(--text-2xl);
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--clr-text-primary);
  margin: 0;
  margin-top: var(--space-1);
}

/* 3-col grid */
.city-rentals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ── Rental mini-card ── */
.city-rental-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--clr-text-primary);
  transition: transform var(--transition-base) var(--ease),
              box-shadow var(--transition-base) var(--ease);
}

.city-rental-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.city-rental-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--clr-raised);
}

.city-rental-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) var(--ease);
}

.city-rental-card:hover .city-rental-card__media img {
  transform: scale(1.05);
}

.city-rental-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

.city-rental-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text-primary);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.city-rental-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.city-rental-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.city-rental-card__price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-tropical-500);
}

.city-rental-card__price small {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--clr-text-muted);
  margin-left: 2px;
}

.city-rental-card__arrow {
  color: var(--clr-text-subtle);
  transition: color var(--transition-fast) var(--ease),
              transform var(--transition-fast) var(--ease);
}

.city-rental-card:hover .city-rental-card__arrow {
  color: var(--clr-tropical-500);
  transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .city-rentals__grid {
    grid-template-columns: 1fr;
  }

  .city-rentals__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .city-rentals__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Compact city hero on narrow phones: title and services stay above the fold. */
@media (max-width: 480px) {
  .city-hero {
    min-height: 0;
  }

  .city-hero__content {
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + var(--space-4));
    padding-bottom: var(--space-5);
  }

  .city-hero__kicker {
    margin-bottom: var(--space-2);
    font-size: 0.65rem;
  }

  .city-hero__title {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .city-hero__services {
    margin-top: var(--space-4);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
  }

  .city-hero__services-head {
    margin-bottom: var(--space-3);
  }

  .city-hero__services-title {
    font-size: 1.15rem;
  }

  .city-services-grid {
    gap: var(--space-2);
  }

  .city-service-card {
    gap: var(--space-1);
    padding: var(--space-2);
    border-radius: var(--radius-md);
  }

  .city-service-card__icon {
    width: 36px;
    height: 36px;
  }

  .city-service-card__name {
    font-size: 0.72rem;
  }

  .city-service-card__desc {
    display: none;
  }
}


/* ==============================================
   ACCESSIBILITY
============================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
