/* ==========================================================================
   The James Group — 2026 redesign layer
   Loaded after webflow.min.css. Modern, conversion-focused reskin that keeps
   the original brand palette: navy #03233b, smoke #f6f8fb, cyan #d1edf5.
   ========================================================================== */

:root {
  --jg-navy: #03233b;
  --jg-navy-soft: #0a3352;
  --jg-cyan: #d1edf5;
  --jg-azure: #dbf1f7;
  --jg-smoke: #f6f8fb;
  --jg-ink: #14212e;
  --jg-slate: #5a6b7c;
  --jg-line: #e3e9ef;
  --jg-radius: 14px;
  --jg-shadow-sm: 0 1px 3px rgba(3, 35, 59, 0.07), 0 1px 2px rgba(3, 35, 59, 0.05);
  --jg-shadow-lg: 0 16px 40px rgba(3, 35, 59, 0.16);
  --jg-font: "Plus Jakarta Sans", "Montserrat", -apple-system, sans-serif;
}

/* ---------- Typography ---------- */
body {
  font-family: var(--jg-font);
  color: var(--jg-ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.heading-large, .heading-medium, .heading-small, .heading-12, .heading-14,
.blog-heading {
  font-family: var(--jg-font);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.heading-large { font-weight: 800; }
p, .paragraph-normal, .paragraph-2, .paragraph-5, .newsletter-small-text {
  font-family: var(--jg-font);
  line-height: 1.65;
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: rgba(3, 35, 59, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--jg-font);
}
.nav-link, .navbar .w-nav-link {
  font-family: var(--jg-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--jg-cyan); }

/* ---------- Buttons ---------- */
.button-primary, .button-2, .button-3,
.property-form-submit-button, .form-submit-button,
input[type="submit"], .w-button {
  font-family: var(--jg-font);
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.25s, color 0.25s;
}
.button-primary:hover, .button-2:hover, .button-3:hover,
.property-form-submit-button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--jg-shadow-lg);
}
.button-2, .button-3 {
  background-color: var(--jg-navy);
  border: 1px solid var(--jg-navy);
  color: #fff;
}
.button-2:hover, .button-3:hover { background-color: var(--jg-navy-soft); }

/* ---------- Property cards ---------- */
.property-item .listing-wrapper,
.listing-wrapper {
  background: #fff;
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  overflow: hidden;
  box-shadow: var(--jg-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.property-item:hover .listing-wrapper {
  transform: translateY(-5px);
  box-shadow: var(--jg-shadow-lg);
}
.property-image-wrapper { overflow: hidden; }
.property-image-wrapper img.image-full { transition: transform 0.4s ease; }
.property-item:hover img.image-full { transform: scale(1.04); }
.sale-or-rent-text {
  background-color: rgba(3, 35, 59, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-wrapper {
  background-color: rgba(3, 35, 59, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 6px 12px;
}
.property-details { padding: 18px 20px 20px; }
.property-details .heading-small { font-size: 19px; letter-spacing: -0.01em; }
.property-features .black-text-block { font-weight: 600; }

/* ---------- Sections & headings ---------- */
.grey-line {
  height: 3px;
  width: 52px;
  background-color: var(--jg-cyan);
  border-radius: 999px;
  border: none;
}
.section.midnight-blue-background .heading-medium,
.section.newsletter .heading-medium { letter-spacing: -0.02em; }

/* stats band */
.section.background-image-overlay h3,
.section.background-image-overlay .heading-medium { font-weight: 800; }

/* ---------- Forms ---------- */
.text-field-contact-form, .text-field-property-form,
.w-input, .w-select, textarea.w-input {
  font-family: var(--jg-font);
  border: 1px solid var(--jg-line);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.w-input:focus, .text-field-contact-form:focus, .text-field-property-form:focus {
  border-color: var(--jg-navy);
  box-shadow: 0 0 0 3px var(--jg-azure);
  outline: none;
}
.success-message, .success-message-2 { border-radius: var(--jg-radius); }

/* ---------- Property detail ---------- */
.right-card {
  border: 1px solid var(--jg-line);
  border-radius: 16px;
  box-shadow: var(--jg-shadow-lg);
  background: #fff;
}
.property-price-wrapper h2 { letter-spacing: -0.03em; font-weight: 800; }
.gallery-wrapper, .gallery-image { border-radius: 10px; overflow: hidden; }
.gallery-lightbox { display: block; overflow: hidden; border-radius: 10px; }
.gallery-image { transition: transform 0.35s ease; }
.gallery-lightbox:hover .gallery-image { transform: scale(1.05); }

/* ---------- Blog ---------- */
.collection-item-3 {
  background: #fff;
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  padding: 22px;
  box-shadow: var(--jg-shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.collection-item-3:hover { transform: translateY(-4px); box-shadow: var(--jg-shadow-lg); }
.collection-item-3 img { border-radius: 10px; }
.agent-card-wrapper {
  background: var(--jg-smoke);
  border: 1px solid var(--jg-line);
  border-radius: 16px;
  padding: 26px;
}
.agent-image-avatar { border-radius: 999px; }

/* ---------- Pagination ---------- */
.next-page-button, .previous-page-button,
.w-pagination-next, .w-pagination-previous {
  border-radius: 999px;
  border: 1px solid var(--jg-line);
  background: #fff;
  color: var(--jg-navy);
  font-family: var(--jg-font);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  box-shadow: var(--jg-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.w-pagination-next:hover, .w-pagination-previous:hover {
  transform: translateY(-2px);
  box-shadow: var(--jg-shadow-lg);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-text-link {
  font-family: var(--jg-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-text-link:hover { color: var(--jg-cyan); }

/* ==========================================================================
   New homepage hero (jg-hero) — static photo hero with stats strip
   ========================================================================== */
.jg-hero {
  min-height: 92vh;
  margin-top: 70px;
  display: flex;
  align-items: center;
  position: relative;
  background-image: linear-gradient(160deg, rgba(3, 35, 59, 0.88) 0%, rgba(3, 35, 59, 0.55) 55%, rgba(3, 35, 59, 0.75) 100%), url(../images/LA-Cityscape.jpg);
  background-position: 50%;
  background-size: cover;
}
.jg-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px 70px;
  color: #fff;
}
.jg-hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jg-cyan);
  border: 1px solid rgba(209, 237, 245, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
}
.jg-hero-h1 {
  font-size: 58px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 18px;
  max-width: 760px;
}
.jg-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 34px;
}
.jg-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 58px; }
.jg-btn {
  display: inline-block;
  font-family: var(--jg-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 10px;
  padding: 16px 32px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.25s, color 0.25s;
}
.jg-btn:hover { transform: translateY(-2px); box-shadow: var(--jg-shadow-lg); }
.jg-btn-solid { background: #fff; color: var(--jg-navy); }
.jg-btn-solid:hover { background: var(--jg-cyan); color: var(--jg-navy); }
.jg-btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.65); color: #fff; }
.jg-btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.jg-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
}
.jg-stat {
  background: rgba(3, 35, 59, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--jg-radius);
  padding: 22px 24px;
}
.jg-stat-n {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.jg-stat-l {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jg-cyan);
  margin-top: 6px;
}
@media (max-width: 767px) {
  .jg-hero { min-height: 0; }
  .jg-hero-h1 { font-size: 38px; }
  .jg-hero-sub { font-size: 16px; }
  .jg-hero-stats { grid-template-columns: 1fr; }
  .jg-hero-inner { padding-top: 90px; }
}

/* ==========================================================================
   Clean stats section (replaces video-background "Why Work With Us")
   ========================================================================== */
.jg-stats-section {
  background: var(--jg-smoke);
  padding: 48px 24px 96px;
}
.jg-stats-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.jg-stats-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jg-navy);
  background: var(--jg-azure);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 18px;
}
.jg-stats-heading {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--jg-navy);
  margin: 0 0 18px;
}
.jg-stats-bar {
  width: 52px; height: 4px;
  background: var(--jg-cyan);
  border-radius: 999px;
  margin: 0 auto 52px;
}
.jg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}
.jg-stat-card {
  background: #fff;
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  padding: 30px 28px;
  box-shadow: var(--jg-shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.jg-stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jg-navy), var(--jg-cyan));
}
.jg-stat-card:hover { transform: translateY(-4px); box-shadow: var(--jg-shadow-lg); }
.jg-stat-card-n {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--jg-navy);
  line-height: 1.15;
  margin-bottom: 10px;
}
.jg-stat-card-l {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--jg-slate);
}
@media (max-width: 991px) { .jg-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) {
  .jg-stats-grid { grid-template-columns: 1fr; }
  .jg-stats-heading { font-size: 30px; }
  .jg-stats-section { padding: 64px 20px; }
}

/* ---------- Section header (shared by Featured Listings + stats) ---------- */
.jg-section-head { text-align: center; padding-top: 24px; }

/* ---------- Meet the Team CTA inside stats section ---------- */
.jg-team-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.jg-team-avatars { display: flex; }
.jg-team-avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--jg-shadow-sm);
  margin-left: -12px;
  transition: transform 0.2s;
  display: block;
}
.jg-team-avatar:first-child { margin-left: 0; }
.jg-team-avatar:hover { transform: translateY(-3px) scale(1.05); z-index: 2; position: relative; }
.jg-team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jg-team-cta-text { font-size: 15px; font-weight: 600; color: var(--jg-ink); }
.jg-btn-navy { background: var(--jg-navy); color: #fff; }
.jg-btn-navy:hover { background: var(--jg-navy-soft); color: #fff; }

/* ---------- Navbar logo: kill the mismatched solid-blue box ---------- */
.navbar-brand, .navbar-brand.w--current,
.w-nav-brand, .w-nav-brand.w--current {
  background-color: transparent !important;
}

/* ---------- Team intro (replaces avatar CTA) ---------- */
.jg-team-intro {
  margin-top: 72px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.jg-team-intro-h {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--jg-navy);
  margin: 0 0 16px;
}
.jg-team-intro-p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--jg-slate);
  margin: 0 0 28px;
}

/* ==========================================================================
   Recent Deals & Market News carousel
   ========================================================================== */
.jg-deals-section { background: #fff; padding: 96px 24px; }
.jg-deals-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.jg-carousel { overflow: hidden; text-align: left; }
.jg-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}
.jg-carousel-track::-webkit-scrollbar { display: none; }
.jg-deal-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  overflow: hidden;
  box-shadow: var(--jg-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.jg-deal-card:hover { transform: translateY(-4px); box-shadow: var(--jg-shadow-lg); }
.jg-deal-card-img { display: block; position: relative; height: 200px; overflow: hidden; }
.jg-deal-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.jg-deal-card:hover .jg-deal-card-img img { transform: scale(1.05); }
.jg-deal-chip {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 13px;
}
.jg-chip-sold { background: var(--jg-navy); color: #fff; }
.jg-chip-news { background: var(--jg-cyan); color: var(--jg-navy); }
.jg-deal-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.jg-deal-card-date { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jg-slate); margin-bottom: 8px; }
.jg-deal-card-title { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; margin: 0 0 10px; }
.jg-deal-card-title a { color: var(--jg-navy); text-decoration: none; }
.jg-deal-card-title a:hover { text-decoration: underline; }
.jg-deal-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--jg-slate); margin: 0 0 16px; }
.jg-deal-link {
  margin-top: auto;
  font-size: 13.5px; font-weight: 700; color: var(--jg-navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.jg-deal-link:hover { text-decoration: underline; }
.jg-carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.jg-carousel-btn {
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid var(--jg-line);
  background: #fff;
  color: var(--jg-navy);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--jg-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.jg-carousel-btn:hover { transform: translateY(-2px); box-shadow: var(--jg-shadow-lg); }
.jg-carousel-btn.is-disabled { opacity: 0.35; pointer-events: none; }

/* ==========================================================================
   Just Sold landing page
   ========================================================================== */
.jg-deal-page { background: #fff; padding: 140px 24px 90px; }
.jg-deal-page-inner { max-width: 980px; margin: 0 auto; }
.jg-deal-page-head { text-align: center; margin-bottom: 42px; }
.jg-deal-page-head .jg-deal-chip { position: static; display: inline-block; margin-bottom: 18px; }
.jg-deal-page-h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; color: var(--jg-navy); margin: 0 0 10px; }
.jg-deal-page-date { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jg-slate); margin-bottom: 26px; }
.jg-deal-facts { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.jg-deal-fact {
  background: var(--jg-smoke);
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  padding: 16px 26px;
  min-width: 140px;
}
.jg-deal-fact-n { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); }
.jg-deal-fact-l { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jg-slate); margin-top: 4px; }
.jg-deal-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 48px; }
.jg-deal-photos.count-1 { grid-template-columns: 1fr; }
.jg-deal-photos.count-2 { grid-template-columns: 1fr 1fr; }
.jg-deal-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.jg-deal-photos.count-1 .jg-deal-photo { aspect-ratio: 16 / 9; }
.jg-deal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.jg-deal-photo:hover img { transform: scale(1.04); }
.jg-deal-writeup { max-width: 760px; margin: 0 auto; }
.jg-deal-writeup-h { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); margin: 0 0 16px; }
.jg-deal-writeup-body { font-size: 16.5px; line-height: 1.8; color: var(--jg-ink); }
.jg-deal-writeup-body p { margin-bottom: 18px; }
.jg-deal-page-cta {
  margin-top: 64px;
  text-align: center;
  background: var(--jg-smoke);
  border: 1px solid var(--jg-line);
  border-radius: 18px;
  padding: 44px 32px;
}
@media (max-width: 767px) {
  .jg-deal-card { flex-basis: 290px; }
  .jg-deal-page-h1 { font-size: 30px; }
  .jg-deal-photos { grid-template-columns: 1fr 1fr; }
  .jg-deal-page { padding-top: 110px; }
}

/* ==========================================================================
   Services section — light LA cityscape backdrop
   ========================================================================== */
.jg-services-section {
  position: relative;
  background: var(--jg-smoke);
  padding: 96px 24px 110px;
  overflow: hidden;
}
.jg-services-section::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 78%;
  background-image: url(../images/LA-Cityscape.jpg);
  background-size: cover;
  background-position: 50% 72%;
  filter: grayscale(100%);
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%);
  mask-image: linear-gradient(to bottom, transparent, #000 55%);
  pointer-events: none;
}
.jg-services-inner { position: relative; max-width: 1200px; margin: 0 auto; text-align: center; }
.jg-services-intro {
  max-width: 720px;
  margin: 22px auto 52px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--jg-slate);
}
.jg-services-track { text-align: left; }
.jg-service-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--jg-line);
  border-top: 2px solid var(--jg-line);
  border-radius: 6px;
  padding: 28px 26px 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.jg-service-card:hover {
  border-top-color: var(--jg-navy);
  border-color: var(--jg-navy);
  transform: translateY(-3px);
  box-shadow: var(--jg-shadow-sm);
}
.jg-service-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--jg-slate);
  margin-bottom: 16px;
}
.jg-service-icon {
  width: 30px; height: 30px;
  color: var(--jg-navy);
  margin-bottom: 16px;
}
.jg-service-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--jg-navy);
  margin: 0 0 12px;
}
.jg-service-card:hover .jg-service-title { color: var(--jg-navy-soft); }
.jg-service-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--jg-slate);
  margin: 0;
}
.jg-services-viewall { margin-top: 22px; text-align: center; }
@media (max-width: 540px) { .jg-service-card { flex-basis: 270px; } }

/* ==========================================================================
   Homepage intro — who we are
   ========================================================================== */
.jg-intro-section { background: #fff; padding: 84px 24px; }
.jg-intro-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.jg-intro-h {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--jg-navy);
  margin: 0 0 18px;
}
.jg-intro-p { font-size: 17px; line-height: 1.75; color: var(--jg-slate); margin: 0; }

/* ==========================================================================
   Homepage evaluation request — final section
   ========================================================================== */
.jg-eval-section {
  background: linear-gradient(160deg, var(--jg-navy) 0%, var(--jg-navy-soft) 100%);
  padding: 96px 24px 104px;
}
.jg-eval-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.jg-eval-h { font-size: 38px; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin: 0 0 14px; }
.jg-eval-p { font-size: 16.5px; line-height: 1.7; color: var(--jg-cyan); margin: 0 auto 42px; max-width: 620px; }
.jg-eval-form { text-align: left; }
.jg-eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.jg-eval-field { display: flex; flex-direction: column; }
.jg-eval-field-full { grid-column: 1 / -1; }
.jg-eval-field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 7px;
}
.jg-eval-field label span { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--jg-cyan); }
.jg-eval-field .w-input {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  margin-bottom: 0;
}
.jg-eval-field .w-input:focus { border-color: var(--jg-cyan); box-shadow: 0 0 0 3px rgba(209, 237, 245, 0.35); }
.jg-eval-submit { margin-top: 28px; background: #fff !important; color: var(--jg-navy) !important; border: none; width: 100%; padding: 17px 32px; font-size: 14px; cursor: pointer; }
.jg-eval-submit:hover { background: var(--jg-cyan) !important; }
.jg-eval-section .w-form-done, .jg-eval-section .w-form-fail { border-radius: var(--jg-radius); margin-top: 20px; }
@media (max-width: 640px) {
  .jg-eval-grid { grid-template-columns: 1fr; }
  .jg-eval-h { font-size: 30px; }
  .jg-intro-h { font-size: 27px; }
}

/* ---------- Footer logos ---------- */
.jg-footer-logo { max-width: 235px; height: auto; }
.jg-ls-logo { max-width: 190px; height: auto; }

/* ---------- Lyon Stahl affiliation strip (was display:none in Webflow) ---------- */
.div-block-4 { display: block !important; padding: 26px 0 14px; }
.jg-ls-logo { max-width: 210px; height: auto; background: transparent; }

/* ==========================================================================
   Redesigned footer — brand column with stacked logos + contact/links/social
   ========================================================================== */
.jg-footer { background: var(--jg-navy); padding: 0; }
.jg-footer-inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px 0; }
.jg-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.jg-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.jg-footer-logo-link { display: block; margin-bottom: 16px; }
.jg-footer-logo { max-width: 240px; height: auto; display: block; }
.jg-footer-tagline { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.65); margin: 0 0 22px; max-width: 280px; }
.jg-footer-ls-wrap {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.jg-footer-ls-wrap:hover { transform: translateY(-2px); box-shadow: var(--jg-shadow-lg); }
.jg-footer-ls { max-width: 170px; height: auto; display: block; }
.jg-footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jg-cyan);
  margin-bottom: 18px;
}
.jg-footer-item {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.jg-footer-item:hover { color: #fff; }
.jg-footer-social { display: flex; gap: 14px; margin-bottom: 26px; }
.jg-footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  transition: background-color 0.2s, transform 0.2s;
}
.jg-footer-social a:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.jg-footer-cta { background: #fff; color: var(--jg-navy); font-size: 13px; padding: 13px 22px; }
.jg-footer-cta:hover { background: var(--jg-cyan); color: var(--jg-navy); }
.jg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
@media (max-width: 991px) { .jg-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jg-footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Intro v2: editorial two-column with watermark ---------- */
.jg-intro-section { position: relative; overflow: hidden; padding: 100px 24px; }
.jg-intro-watermark {
  position: absolute;
  top: -60px; right: -30px;
  font-family: var(--jg-font);
  font-size: 380px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--jg-navy);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.jg-intro-inner2 {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}
.jg-intro-kicker {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jg-navy);
  background: var(--jg-azure);
  border-radius: 999px;
  padding: 10px 22px;
  margin-bottom: 20px;
}
.jg-intro-left .jg-intro-h {
  font-size: 38px;
  line-height: 1.15;
  text-align: left;
  margin: 0;
}
.jg-intro-right .jg-intro-p {
  font-size: 17.5px;
  line-height: 1.8;
  text-align: left;
  margin: 0 0 26px;
}
.jg-intro-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 26px; }
.jg-intro-point {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--jg-ink);
}
.jg-intro-point svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--jg-navy);
  background: var(--jg-cyan);
  border-radius: 999px;
  padding: 4px;
}
.jg-intro-link {
  font-size: 14.5px; font-weight: 700; color: var(--jg-navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 2px solid var(--jg-cyan);
  padding-bottom: 3px;
  transition: gap 0.2s, border-color 0.2s;
}
.jg-intro-link:hover { gap: 11px; border-color: var(--jg-navy); }
@media (max-width: 860px) {
  .jg-intro-inner2 { grid-template-columns: 1fr; gap: 28px; }
  .jg-intro-left .jg-intro-h { font-size: 29px; }
  .jg-intro-watermark { font-size: 220px; }
}

/* tighten gap between featured listings and stats */
.jg-featured-section { padding-bottom: 70px; }

/* ---------- Brand-colored social icons ---------- */
.jg-footer-social a.jg-soc { border: none; }
.jg-footer-social a.jg-soc svg { width: 18px; height: 18px; }
.jg-soc-fb { background: #1877F2; }
.jg-soc-tw { background: #1DA1F2; }
.jg-soc-li { background: #0A66C2; }
.jg-soc-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.jg-footer-social a.jg-soc:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* ---------- Office map (Contact page) ---------- */
.jg-office-map-section { background: #fff; padding: 40px 24px 96px; }
.jg-office-map-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.jg-office-map-addr { font-size: 15.5px; color: var(--jg-slate); margin: 14px 0 30px; }
.jg-office-map {
  border-radius: var(--jg-radius);
  overflow: hidden;
  border: 1px solid var(--jg-line);
  box-shadow: var(--jg-shadow-sm);
}
.jg-office-map iframe { display: block; width: 100%; height: 440px; border: 0; }

/* ==========================================================================
   Contact page — "Let's Connect"
   ========================================================================== */
.jg-contact-hero {
  position: relative;
  margin-top: 70px;
  padding: 130px 24px 150px;
  background-image: linear-gradient(rgba(246, 248, 251, 0.45), rgba(255, 255, 255, 0.2) 55%, #fff 96%), url(../images/LA-Cityscape.jpg);
  background-size: cover;
  background-position: 50% 35%;
}
.jg-contact-hero-h1 {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 74px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(3, 35, 59, 0.45);
}
.jg-contact-hero-h1 em { font-style: italic; font-weight: 300; }
.jg-contact-page { background: #fff; padding: 30px 24px 100px; }
.jg-contact-inner { max-width: 1200px; margin: 0 auto; }
.jg-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}
.jg-contact-intro {
  font-size: 18px;
  line-height: 1.75;
  color: var(--jg-slate);
  margin: 0 0 44px;
  max-width: 520px;
}
.jg-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  text-decoration: none;
  margin-bottom: 34px;
}
.jg-contact-ico {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--jg-smoke);
  display: flex; align-items: center; justify-content: center;
  color: var(--jg-navy);
  transition: background-color 0.2s, transform 0.2s;
}
.jg-contact-ico svg { width: 24px; height: 24px; }
.jg-contact-row:hover .jg-contact-ico { background: var(--jg-cyan); transform: translateY(-2px); }
.jg-contact-row-txt { display: flex; flex-direction: column; padding-top: 3px; }
.jg-contact-label { font-size: 14px; color: var(--jg-slate); margin-bottom: 3px; }
.jg-contact-value { font-size: 19px; font-weight: 600; color: var(--jg-navy); line-height: 1.4; }
.jg-contact-form-card {
  background: var(--jg-smoke);
  border-radius: 18px;
  padding: 40px 36px;
}
.jg-contact-fields { display: flex; flex-direction: column; gap: 16px; }
.jg-contact-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jg-cf-input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--jg-line);
  border-radius: 10px;
  padding: 15px 18px;
  font-family: var(--jg-font);
  font-size: 15.5px;
  color: var(--jg-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.jg-cf-input::placeholder { color: #8a95a3; }
.jg-cf-input:focus { outline: none; border-color: var(--jg-navy); box-shadow: 0 0 0 3px var(--jg-azure); }
.jg-cf-textarea { resize: vertical; min-height: 150px; }
.jg-cf-submit {
  width: 100%;
  margin-top: 20px;
  background: var(--jg-navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 17px 32px;
  font-family: var(--jg-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.jg-cf-submit:hover { background: var(--jg-navy-soft); transform: translateY(-2px); box-shadow: var(--jg-shadow-lg); }
@media (max-width: 900px) {
  .jg-contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .jg-contact-hero-h1 { font-size: 44px; }
  .jg-contact-hero { padding: 110px 24px 90px; }
}

/* contact page without hero */
.jg-contact-page-nohero { padding-top: 150px; }
.jg-contact-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jg-navy);
  margin: 0 0 40px;
}
.jg-contact-title em { font-style: italic; font-weight: 300; }
@media (max-width: 700px) { .jg-contact-title { font-size: 36px; } .jg-contact-page-nohero { padding-top: 120px; } }

/* ==========================================================================
   Shared interior page hero — matches homepage aesthetic
   ========================================================================== */
.jg-page-hero {
  margin-top: 70px;
  background-image: linear-gradient(160deg, rgba(3, 35, 59, 0.9) 0%, rgba(3, 35, 59, 0.6) 60%, rgba(3, 35, 59, 0.78) 100%), url(../images/LA-Cityscape.jpg);
  background-position: 50% 40%;
  background-size: cover;
  padding: 150px 24px 84px;
}
.jg-page-hero-inner { max-width: 1200px; margin: 0 auto; }
.jg-page-hero-h1 {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 14px;
}
.jg-page-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0;
}
@media (max-width: 700px) {
  .jg-page-hero { padding: 120px 20px 60px; }
  .jg-page-hero-h1 { font-size: 34px; }
}

/* about intro block under hero */
.jg-about-intro { background: #fff; padding: 76px 24px; }
.jg-about-intro-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.jg-about-intro-p { font-size: 17px; line-height: 1.8; color: var(--jg-slate); margin: 0 0 30px; text-align: left; }

/* evaluation page body (was background-image-overlay hero section) */
.jg-eval-body { background: #fff; padding-top: 70px; }

/* white Lyon Stahl logo sits directly on navy (no card) */
.jg-footer-ls-link { display: inline-block; opacity: 0.92; transition: opacity 0.2s, transform 0.2s; }
.jg-footer-ls-link:hover { opacity: 1; transform: translateY(-2px); }
.jg-footer-ls-link .jg-footer-ls { max-width: 185px; }

/* ==========================================================================
   About page — Meet the Team (light, card-based)
   ========================================================================== */
.jg-team-section { background: var(--jg-smoke); padding: 90px 24px 100px; }
.jg-team-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.jg-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.jg-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--jg-line);
  border-radius: 16px;
  padding: 0 24px 28px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--jg-shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.jg-team-card:hover { transform: translateY(-5px); box-shadow: var(--jg-shadow-lg); }
.jg-team-photo {
  width: calc(100% + 48px);
  height: 300px;
  background: linear-gradient(170deg, var(--jg-azure) 0%, var(--jg-cyan) 60%, #bfe3ef 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
}
.jg-team-photo img { max-height: 280px; width: auto; max-width: 92%; object-fit: contain; transition: transform 0.3s; }
.jg-team-card:hover .jg-team-photo img { transform: scale(1.04); }
.jg-team-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); margin-bottom: 4px; }
.jg-team-title { font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jg-slate); margin-bottom: 16px; }
.jg-team-more { font-size: 13.5px; font-weight: 700; color: var(--jg-navy); border-bottom: 2px solid var(--jg-cyan); padding-bottom: 2px; }
.jg-team-card:hover .jg-team-more { border-color: var(--jg-navy); }
@media (max-width: 800px) { .jg-team-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

/* ==========================================================================
   Property landing page v2
   ========================================================================== */
.jg-prop-page { background: #fff; padding: 140px 24px 90px; }
.jg-prop-inner { max-width: 1140px; margin: 0 auto; }
.jg-prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 30px; }
.jg-prop-head .jg-deal-chip { position: static; display: inline-block; margin-bottom: 14px; }
.jg-prop-h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--jg-navy); margin: 0 0 6px; }
.jg-prop-sub { font-size: 14.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--jg-slate); }
.jg-prop-head-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.jg-prop-price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--jg-navy); line-height: 1; }
.jg-prop-mainphoto { border-radius: 18px; overflow: hidden; box-shadow: var(--jg-shadow-lg); margin: 0 auto 26px; max-width: 860px; }
.jg-prop-mainphoto img { display: block; width: 100%; max-height: 400px; object-fit: cover; }
.jg-prop-metrics {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 56px;
}
.jg-prop-metric {
  flex: 1 1 160px;
  background: var(--jg-smoke);
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  padding: 22px 20px;
  text-align: center;
}
.jg-prop-metric svg { width: 26px; height: 26px; color: var(--jg-navy); margin-bottom: 10px; }
.jg-prop-metric-v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); line-height: 1.15; }
.jg-prop-metric-l { font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--jg-slate); margin-top: 5px; }
.jg-prop-sec-h { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); margin: 0 0 18px; }
.jg-prop-gallery { margin-bottom: 60px; }
.jg-photos-track { align-items: stretch; }
.jg-photo-slide { flex: 0 0 460px; scroll-snap-align: start; border-radius: 12px; overflow: hidden; }
.jg-photo-slide img { width: 100%; height: 320px; object-fit: cover; display: block; }
.jg-prop-writeup { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; margin-bottom: 64px; align-items: start; }
.jg-prop-desc-body { font-size: 16.5px; line-height: 1.8; color: var(--jg-ink); }
.jg-prop-desc-body p { margin-bottom: 16px; }
.jg-prop-map .jg-office-map iframe { height: 380px; }
.jg-prop-highlights { margin-bottom: 64px; }
.jg-prop-hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jg-prop-hl-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--jg-line); border-radius: var(--jg-radius);
  padding: 22px 24px; box-shadow: var(--jg-shadow-sm);
}
.jg-prop-hl-card > svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--jg-navy); background: var(--jg-cyan); border-radius: 999px; padding: 5px; }
.jg-prop-hl-title { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--jg-navy); margin-bottom: 6px; }
.jg-prop-hl-text { font-size: 14px; line-height: 1.65; color: var(--jg-slate); }
.jg-prop-demos { margin-bottom: 64px; }
.jg-prop-demo-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.jg-prop-demo-card {
  flex: 1 1 150px; min-width: 140px;
  background: var(--jg-smoke); border: 1px solid var(--jg-line); border-radius: var(--jg-radius);
  padding: 20px 16px; text-align: center;
}
.jg-prop-demo-card svg { width: 24px; height: 24px; color: var(--jg-navy); margin-bottom: 8px; }
.jg-prop-demo-v { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); }
.jg-prop-demo-l { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--jg-slate); margin-top: 4px; }
.jg-prop-demo-note { font-size: 12px; color: #9aa5b1; margin-top: 12px; }
.jg-prop-inquiry {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--jg-smoke); border: 1px solid var(--jg-line); border-radius: 18px;
  padding: 40px 38px; margin-bottom: 70px;
}
.jg-prop-inquiry-txt p { color: var(--jg-slate); margin: 0; }
.jg-prop-inquiry-form form { display: flex; flex-direction: column; gap: 12px; }
.jg-prop-more { margin-bottom: 10px; }
@media (max-width: 900px) {
  .jg-prop-writeup, .jg-prop-hl-grid, .jg-prop-inquiry { grid-template-columns: 1fr; }
  .jg-prop-h1 { font-size: 32px; }
  .jg-prop-price { font-size: 30px; }
  .jg-prop-head-right { align-items: flex-start; text-align: left; }
  .jg-photo-slide { flex-basis: 320px; }
  .jg-prop-page { padding-top: 110px; }
}

/* keep inquiry heading on one line */
.jg-oneline { white-space: nowrap; }
@media (max-width: 640px) { .jg-oneline { white-space: normal; } }

/* ==========================================================================
   Services page — alternating icon-tile rows
   ========================================================================== */
.jg-svc-page { background: #fff; padding: 90px 24px 100px; }
.jg-svc-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }
.jg-svc-row { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.jg-svc-row-rev { grid-template-columns: 1fr 340px; }
.jg-svc-row-rev .jg-svc-tile { order: 2; }
.jg-svc-row-rev .jg-svc-body { order: 1; }
.jg-svc-tile {
  position: relative;
  height: 240px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--jg-azure) 0%, var(--jg-cyan) 55%, #bfe3ef 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.jg-svc-tile svg { width: 74px; height: 74px; color: var(--jg-navy); position: relative; }
.jg-svc-num {
  position: absolute;
  top: -26px; left: 6px;
  font-size: 150px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--jg-navy);
  opacity: 0.07;
  line-height: 1;
  user-select: none;
}
.jg-svc-title { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--jg-navy); margin: 0 0 14px; }
.jg-svc-text { font-size: 15.5px; line-height: 1.75; color: var(--jg-slate); margin: 0 0 24px; }
@media (max-width: 860px) {
  .jg-svc-row, .jg-svc-row-rev { grid-template-columns: 1fr; gap: 24px; }
  .jg-svc-row-rev .jg-svc-tile { order: 0; }
  .jg-svc-tile { height: 170px; }
}

/* service tiles now use photos */
.jg-svc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.jg-svc-row:hover .jg-svc-tile img { transform: scale(1.04); }
.jg-svc-tile { height: 260px; box-shadow: var(--jg-shadow-sm); }

/* property header: price aligned with address line; OM under metrics */
.jg-prop-head { align-items: flex-start; }
.jg-prop-head-right { padding-top: 47px; }
.jg-prop-metrics { margin-bottom: 26px; }
.jg-prop-om-row { text-align: center; margin-bottom: 56px; }
.jg-prop-inq-contact { margin-top: 26px; }
.jg-prop-inq-contact .jg-contact-row { margin-bottom: 20px; }
.jg-prop-inq-contact .jg-contact-value { font-size: 16.5px; }
.jg-prop-inq-contact .jg-contact-ico { width: 46px; height: 46px; background: #fff; }

/* contact CTA section (services page) */
.jg-contact-cta-section { background: #fff; padding: 90px 24px 100px; }
.jg-contact-cta-section .jg-contact-inner { max-width: 1200px; margin: 0 auto; }

/* service tiles: icon-only version */
.jg-svc-tile-icon { display: flex; align-items: center; justify-content: center; height: 220px; }
.jg-svc-tile-icon svg { width: 72px; height: 72px; color: var(--jg-navy); }

/* service tiles: outlined box, no fill, bigger icon */
.jg-svc-tile.jg-svc-tile-icon {
  background: none;
  border: 1.5px solid var(--jg-navy);
  border-radius: 18px;
  box-shadow: none;
}
.jg-svc-tile-icon svg { width: 96px; height: 96px; }

/* ==========================================================================
   Newsletter band — modern navy style (replaces old Webflow newsletter)
   ========================================================================== */
.jg-news-section {
  background: linear-gradient(160deg, var(--jg-navy) 0%, var(--jg-navy-soft) 100%);
  padding: 68px 24px;
}
.jg-news-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.jg-news-h { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin: 0 0 10px; }
.jg-news-p { font-size: 15.5px; line-height: 1.65; color: var(--jg-cyan); margin: 0; }
.jg-news-form { display: flex; gap: 12px; }
.jg-news-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 15px;
  margin: 0;
}
.jg-news-input:focus { border-color: var(--jg-cyan); box-shadow: 0 0 0 3px rgba(209, 237, 245, 0.35); outline: none; }
.jg-news-submit {
  background: #fff;
  color: var(--jg-navy);
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  font-family: var(--jg-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.jg-news-submit:hover { background: var(--jg-cyan); transform: translateY(-2px); box-shadow: var(--jg-shadow-lg); }
.jg-news-section .w-form-done, .jg-news-section .w-form-fail { border-radius: var(--jg-radius); margin-top: 14px; }
@media (max-width: 800px) {
  .jg-news-inner { grid-template-columns: 1fr; gap: 24px; }
  .jg-news-form { flex-direction: column; }
}

/* Demographics: transportation scores on their own row */
.jg-prop-demo-grid + .jg-prop-demo-grid { margin-top: 16px; }
.jg-prop-demo-grid { justify-content: center; }
