/* ── /location - Study venue (Mindspace La Guardia, Vitania Tower) ────
   A calm, editorial "place" page. RTL Hebrew. Shares the visual vocabulary
   of /next (radial hero glow, hairline glass cards, asymmetric gallery) but
   stands on its own loc- prefix. CSS lives here per Chrome Workspaces (no
   inline styles / <style> blocks in the .vue). */

.loc-page {
  background: var(--bg-surface);
  color: var(--text-color);
}

/* ── Shared section scaffolding ──────────────────────────────── */
.loc-section {
  padding: var(--space-3xl) var(--space-xl);
}
.loc-section-alt {
  background: linear-gradient(180deg, #f6faff 0%, #eef5ff 100%);
}
.loc-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.loc-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}
.loc-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-color);
  margin-bottom: var(--space-lg);
}
.loc-section-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: var(--space-2xl);
}

/* ── Buttons (quiet, secondary only - no CTA pressure on this page) ── */
.loc-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  background: var(--bg-surface);
  color: var(--primary-color);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.loc-btn-secondary:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ── Hero ────────────────────────────────────────────────────── */
.loc-hero {
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(8, 148, 255, 0.10), transparent 60%),
    radial-gradient(720px 420px at 4% 108%, rgba(189, 50, 214, 0.07), transparent 58%),
    var(--bg-surface);
}
.loc-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(var(--space-xl), 4vw, var(--space-3xl));
  align-items: stretch;
}
.loc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-color);
  margin: var(--space-sm) 0 var(--space-lg);
}
.loc-hero-lead {
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: var(--space-xl);
}
.loc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Venue figures: a primary photo (with the venue wordmark credit) over a
   smaller second look at the space, stacked as one column. Hairline borders
   (not shadows) define the card edges on the white hero. */
.loc-hero-figures {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.loc-hero-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.loc-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  flex: 1;
}
.loc-hero-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-light);
}
.loc-hero-credit-text {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.loc-hero-credit-mark { height: 19px; }
.loc-hero-credit-divider {
  width: 1px;
  height: 22px;
  background: rgba(0, 60, 130, 0.18);
}
.loc-mindspace-logo {
  height: 32px;
  width: auto;
}

/* Facts band: full-width 4-up beneath the hero split (Apple spec-row rhythm).
   These are *building* facts - never dates or prices. */
.loc-hero-facts {
  max-width: 1180px;
  margin: var(--space-2xl) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.loc-hero-fact {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
}
.loc-hero-fact-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.loc-hero-fact-icon { color: var(--primary-color); font-size: 14px; }
.loc-hero-fact-value {
  display: block;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.loc-hero-fact-sub {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ── The place & the building ────────────────────────────────── */
.loc-story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(var(--space-xl), 4vw, var(--space-3xl));
  align-items: start;
}
.loc-story-body { min-width: 0; }
.loc-prose {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg);
  max-width: 640px;
}
.loc-prose:last-of-type { margin-bottom: var(--space-xl); }

.loc-address-card {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  font-style: normal;
}
.loc-address-icon { font-size: 26px; color: var(--primary-color); }
.loc-address-body { display: flex; flex-direction: column; }
.loc-address-name { font-size: 17px; font-weight: 600; color: var(--text-color); }
.loc-address-line { font-size: 14.5px; color: var(--text-secondary); margin-top: 2px; }

/* Tall companion image - a quiet vertical anchor beside the prose. */
.loc-story-figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow:
    0 1px 2px rgba(0, 60, 130, 0.06),
    0 16px 40px rgba(0, 60, 130, 0.12);
  position: sticky;
  top: 96px;
}
.loc-story-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
}

/* ── Amenities ───────────────────────────────────────────────── */
.loc-amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.loc-amenity {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.loc-amenity--highlight {
  border-color: var(--primary-border);
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(8, 148, 255, 0.07), transparent 60%),
    var(--bg-surface);
}
.loc-amenity-icon-wrap {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
}
.loc-amenity-icon { font-size: 20px; color: var(--primary-color); }
.loc-amenity-text { display: flex; flex-direction: column; }
.loc-amenity-title { font-size: 16px; font-weight: 600; color: var(--text-color); }
.loc-amenity-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-top: 4px; }

/* ── Gallery ─────────────────────────────────────────────────── */
.loc-gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: var(--space-md);
}
.loc-gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.loc-gallery-item--tall { grid-row: span 2; }
.loc-gallery-item--wide { grid-column: span 2; }
.loc-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.loc-gallery-item:hover .loc-gallery-img { transform: scale(1.04); }

/* ── Map & getting there ─────────────────────────────────────── */
.loc-transit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.loc-transit-map { position: sticky; top: 96px; }
.loc-map-frame {
  display: block;
  width: 100%;
  height: 380px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.loc-map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 380px;
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-align: center;
  padding: var(--space-lg);
}
.loc-map-fallback i { font-size: 34px; color: var(--primary-color); }
.loc-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.loc-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-color);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.loc-map-btn i { color: var(--primary-color); font-size: 16px; }
.loc-map-btn:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.loc-transit-list { list-style: none; padding: 0; margin: 0; }
.loc-transit-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
  margin: 0;
}
.loc-transit-item:last-child { border-bottom: 0; }
.loc-transit-icon-wrap {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}
.loc-transit-icon-wrap i { font-size: 21px; color: var(--primary-color); }
.loc-transit-text { display: flex; flex-direction: column; }
.loc-transit-title { font-size: 17px; font-weight: 600; color: var(--text-color); margin-bottom: 4px; }
.loc-transit-desc { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.loc-transit-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-tertiary);
  margin: 8px 0 0;
  font-style: italic;
}

/* ── Soft closing band ───────────────────────────────────────── */
.loc-outro {
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}
.loc-outro-inner { max-width: 680px; margin: 0 auto; }
.loc-outro-text {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
}
.loc-outro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ── Responsive: 1024 (tablet) ───────────────────────────────── */
@media (max-width: 1024px) {
  .loc-section { padding: var(--space-2xl) var(--space-lg); }
  .loc-hero { padding: var(--space-2xl) var(--space-lg); }
  .loc-hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .loc-hero-figures { order: -1; }
  .loc-hero-img { min-height: 300px; max-height: 420px; }
  .loc-hero-facts { grid-template-columns: repeat(2, 1fr); }
  .loc-story-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .loc-story-figure { position: static; order: -1; }
  .loc-story-img { min-height: 280px; max-height: 360px; }
  .loc-amenities { grid-template-columns: repeat(2, 1fr); }
  .loc-gallery { grid-template-columns: repeat(3, 1fr); }
  .loc-transit-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
  .loc-transit-map { position: static; }
}

/* ── Responsive: 767 (mobile) ────────────────────────────────── */
@media (max-width: 767px) {
  .loc-section { padding: var(--space-2xl) var(--space-md); }
  .loc-hero { padding: var(--space-xl) var(--space-md) var(--space-2xl); }
  .loc-hero-img { min-height: 240px; max-height: 340px; }
  .loc-hero-facts { grid-template-columns: 1fr; }
  .loc-hero-actions { flex-direction: column; align-items: stretch; }
  .loc-hero-actions .loc-btn-secondary { justify-content: center; }
  .loc-amenities { grid-template-columns: 1fr; }
  .loc-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .loc-map-frame, .loc-map-fallback { height: 300px; }
  .loc-address-card { width: 100%; }
  .loc-outro { padding: var(--space-2xl) var(--space-md); }
  .loc-outro-actions { flex-direction: column; align-items: stretch; }
  .loc-outro-actions .loc-btn-secondary { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .loc-gallery-img,
  .loc-btn-secondary,
  .loc-map-btn { transition: none; }
}
