/* ==========================================================================
   NCR Escort Service — Location pages
   Covers: the Location listing grid (services.php, class prefix ncr-loc-)
   and each city detail page (page.php, class prefix ncr-locd-). Both load
   only on their respective pages (see ncr_enqueue_location_assets() in
   functions.php) and rely on the --ncr-* variables already defined in
   site-global.css.
   ========================================================================== */

/* ==========================================================================
   LISTING — /location/ (and /services/, same template)
   ========================================================================== */
.ncr-loc {
  background: var(--ncr-bg);
  color: var(--ncr-text);
  font-family: "Manrope", "Open Sans", sans-serif;
  overflow-x: hidden;
}
.ncr-loc h1,
.ncr-loc h3 {
  font-family: "Playfair Display", "Manrope", serif;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.ncr-loc img {
  max-width: 100%;
  display: block;
}
.ncr-loc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.ncr-loc-hero {
  position: relative;
  padding: 150px 0 66px;
  text-align: center;
  overflow: hidden;
}
.ncr-loc-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% -10%, rgba(212, 175, 55, 0.16), transparent 65%);
  pointer-events: none;
}
.ncr-loc-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ncr-gold-light);
  margin-bottom: 14px;
}
.ncr-loc-eyebrow::before,
.ncr-loc-eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ncr-gold);
  display: inline-block;
}
.ncr-loc-hero h1 {
  position: relative;
  font-size: clamp(30px, 5vw, 48px);
}
.ncr-loc-sub {
  position: relative;
  color: var(--ncr-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.ncr-loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-bottom: 30px;
}
.ncr-loc-card {
  background: var(--ncr-card);
  border: 1px solid var(--ncr-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.ncr-loc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
}
.ncr-loc-card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0d0d0d;
}
.ncr-loc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ncr-loc-card:hover .ncr-loc-card-media img {
  transform: scale(1.08);
}
.ncr-loc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 9, 9, 0.85) 100%);
}
.ncr-loc-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 9, 9, 0.65);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #eafff0;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.ncr-loc-card-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
}
.ncr-loc-card-body {
  padding: 20px;
}
.ncr-loc-card-body h3 {
  font-size: 19px;
}
.ncr-loc-card-body h3 a {
  color: #fff;
  text-decoration: none;
}
.ncr-loc-card-body h3 a:hover {
  color: var(--ncr-gold-light);
}
.ncr-loc-card-body p {
  color: var(--ncr-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 8px 0 0;
}
.ncr-loc-card-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #140f02;
  background: var(--ncr-gold-light);
  padding: 10px 18px;
  border-radius: 100px;
  text-decoration: none;
  transition: gap 0.3s ease, background 0.3s ease;
}
.ncr-loc-card-btn:hover {
  gap: 12px;
  background: var(--ncr-gold);
}

.ncr-loc-empty {
  text-align: center;
  color: var(--ncr-muted);
  padding: 60px 0 90px;
  font-size: 15px;
}

.ncr-loc-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 80px;
}
.ncr-loc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--ncr-card);
  border: 1px solid var(--ncr-border);
  color: var(--ncr-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.ncr-loc-pagination .page-numbers:hover {
  border-color: var(--ncr-gold);
  color: var(--ncr-gold-light);
}
.ncr-loc-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--ncr-gold-light), var(--ncr-gold));
  color: #140f02;
  border-color: transparent;
}

@media (max-width: 980px) {
  .ncr-loc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .ncr-loc-hero {
    padding: 128px 0 44px;
  }
}
@media (max-width: 620px) {
  .ncr-loc-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DETAIL — /location/{city}/
   ========================================================================== */
.ncr-locd {
  background: var(--ncr-bg);
  color: var(--ncr-text);
  font-family: "Manrope", "Open Sans", sans-serif;
  overflow-x: hidden;
}
.ncr-locd h1 {
  font-family: "Playfair Display", "Manrope", serif;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.ncr-locd img {
  max-width: 100%;
  display: block;
}
.ncr-locd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.ncr-locd-hero {
  position: relative;
  padding: 160px 0 64px;
  overflow: hidden;
}
.ncr-locd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ncr-locd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    object-position: 20% 34%;
}
.ncr-locd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(9 9 9 / 0%) 0%, #09090900 92%), radial-gradient(ellipse 70% 60% at 20% 0%, rgb(212 175 55 / 0%), transparent 60%);
}
.ncr-locd-breadcrumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ncr-muted);
  margin-bottom: 22px;
}
.ncr-locd-breadcrumb a {
  color: var(--ncr-muted);
  text-decoration: none;
}
.ncr-locd-breadcrumb a:hover {
  color: var(--ncr-gold-light);
}
.ncr-locd-breadcrumb span:last-child {
  color: var(--ncr-gold-light);
}
.ncr-locd-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ncr-gold-light);
  margin-bottom: 14px;
}
.ncr-locd-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ncr-gold);
  display: inline-block;
}
.ncr-locd-hero h1 {
  position: relative;
  font-size: clamp(28px, 4.4vw, 46px);
  max-width: 780px;
}

.ncr-locd-body {
  padding: 56px 0 90px;
}
.ncr-locd-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.ncr-locd-content {
  background: var(--ncr-card);
  border: 1px solid var(--ncr-border);
  border-radius: 24px;
  padding: 40px;
  min-width: 0;
}
.ncr-locd-thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
}
.ncr-locd-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ncr-locd-content > *:first-child {
  margin-top: 0;
}
.ncr-locd-content p {
  color: var(--ncr-muted);
  font-size: 16.5px;
  line-height: 1.85;
  margin: 0 0 22px;
}
.ncr-locd-content h2 {
  font-family: "Playfair Display", "Manrope", serif;
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin: 42px 0 16px;
}
.ncr-locd-content h3 {
  font-family: "Playfair Display", "Manrope", serif;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 32px 0 14px;
}
.ncr-locd-content a {
  color: var(--ncr-gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
  text-underline-offset: 3px;
}
.ncr-locd-content a:hover {
  color: var(--ncr-gold);
}
.ncr-locd-content ul,
.ncr-locd-content ol {
  color: var(--ncr-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 22px;
  padding-left: 22px;
}
.ncr-locd-content li {
  margin-bottom: 8px;
}
.ncr-locd-content strong {
  color: #fff;
}

.ncr-locd-sidebar {
  position: sticky;
  top: 100px;
}
.ncr-locd-cta-card {
  background: linear-gradient(165deg, var(--ncr-card), #141414);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
}
.ncr-locd-cta-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0d0d0d;
}
.ncr-locd-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ncr-locd-cta-content {
  padding: 26px;
  text-align: center;
}
.ncr-locd-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ncr-gold-light);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.ncr-locd-cta-content h4 {
  font-family: "Playfair Display", "Manrope", serif;
  color: #fff;
  font-size: 22px;
  margin: 0 0 10px;
}
.ncr-locd-cta-content p {
  color: var(--ncr-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.ncr-locd-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
  box-sizing: border-box;
}
.ncr-locd-cta-btn:last-child {
  margin-bottom: 0;
}
.ncr-locd-cta-btn svg {
  width: 17px;
  height: 17px;
}
.ncr-locd-cta-btn:hover {
  transform: translateY(-3px);
}
.ncr-locd-cta-call {
  background: linear-gradient(135deg, var(--ncr-gold-light), var(--ncr-gold) 55%, var(--ncr-gold-dim));
  color: #140f02;
}
.ncr-locd-cta-wa {
  background: var(--ncr-bg-2);
  color: #fff;
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.ncr-locd-cta-wa:hover {
  border-color: #25d366;
}

@media (max-width: 1180px) {
  .ncr-locd-grid {
    grid-template-columns: 1fr;
  }
  .ncr-locd-sidebar {
    position: static;
    max-width: 420px;
  }
}
@media (max-width: 760px) {
  .ncr-locd-hero {
    padding: 128px 0 44px;
  }
  .ncr-locd-body {
    padding: 40px 0 60px;
  }
  .ncr-locd-content {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .ncr-locd-content p {
    font-size: 15.5px;
  }
  .ncr-locd-sidebar {
    max-width: none;
  }
}
