/*
Theme Name: Janna München Imóveis
Theme URI: https://jmunchen.com.br/
Author: Folei
Author URI: https://folei.com.br/
Description: Tema imobiliário exclusivo para Janna München, com cadastro de imóveis, galerias e conversão pelo WhatsApp.
Version: 1.2.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: jmunchen
*/

:root {
  --jm-navy: #10233f;
  --jm-navy-deep: #09172a;
  --jm-navy-soft: #1b3557;
  --jm-gold: #c39a52;
  --jm-gold-light: #e0bd7c;
  --jm-cream: #f7f3ea;
  --jm-paper: #ffffff;
  --jm-ink: #293548;
  --jm-muted: #6b7078;
  --jm-line: rgba(16, 35, 63, .14);
  --jm-shadow: 0 24px 70px rgba(9, 24, 44, .12);
  --jm-serif: Georgia, "Times New Roman", serif;
  --jm-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --jm-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--jm-ink);
  background: var(--jm-paper);
  font-family: var(--jm-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .jm-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed; z-index: 10000; top: 10px; left: 10px; width: auto; height: auto;
  padding: 12px 18px; clip: auto; background: #fff; color: var(--jm-navy);
}
.jm-container { width: min(calc(100% - 40px), var(--jm-container)); margin-inline: auto; }
.jm-section { padding: clamp(72px, 9vw, 128px) 0; }
.jm-section--cream { background: var(--jm-cream); }
.jm-section--navy { color: #fff; background: var(--jm-navy); }
.jm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--jm-gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.jm-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.jm-title {
  max-width: 820px; margin: 0; color: var(--jm-navy); font: 400 clamp(38px, 5vw, 66px)/1.06 var(--jm-serif);
  letter-spacing: -.035em;
}
.jm-section--navy .jm-title { color: #fff; }
.jm-lead { max-width: 720px; margin: 24px 0 0; color: var(--jm-muted); font-size: clamp(18px, 2vw, 21px); }
.jm-section--navy .jm-lead { color: rgba(255,255,255,.72); }
.jm-button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 1px solid var(--jm-gold); border-radius: 2px; background: var(--jm-gold);
  color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .035em; transition: .25s ease;
}
.jm-button:hover, .jm-button:focus-visible { transform: translateY(-2px); background: #ad8240; border-color: #ad8240; }
.jm-button--outline { color: var(--jm-navy); background: transparent; border-color: rgba(16,35,63,.35); }
.jm-button--outline:hover, .jm-button--outline:focus-visible { color: #fff; background: var(--jm-navy); border-color: var(--jm-navy); }
.jm-button--light { color: #fff; background: transparent; border-color: rgba(255,255,255,.45); }
.jm-button--light:hover, .jm-button--light:focus-visible { color: var(--jm-navy); background: #fff; border-color: #fff; }
.jm-button svg { width: 18px; height: 18px; fill: currentColor; }

/* Header */
.jm-header {
  position: sticky; z-index: 1000; top: 0; color: #fff; background: rgba(16,35,63,.97); border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
}
.jm-header__inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 28px; }
.jm-logo img { width: 205px; max-height: 68px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.jm-nav { display: flex; align-items: center; gap: 28px; }
.jm-nav__links { display: flex; align-items: center; gap: 25px; list-style: none; margin: 0; padding: 0; }
.jm-nav__links a { color: #fff; font-size: 14px; font-weight: 700; }
.jm-nav__links a:hover { color: var(--jm-gold-light); }
.jm-nav__mobile-lead { display: none; }
.jm-menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.35); background: transparent; }
.jm-menu-toggle span, .jm-menu-toggle::before, .jm-menu-toggle::after {
  content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; background: #fff; transition: .2s;
}

/* Hero */
.jm-hero { position: relative; overflow: hidden; color: #fff; background: var(--jm-navy); }
.jm-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background: radial-gradient(circle at 75% 24%, rgba(195,154,82,.22), transparent 28%), linear-gradient(135deg, #10233f, #10233f 68%);
}
.jm-hero__inner { position: relative; display: grid; min-height: 690px; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 70px; }
.jm-hero__content { align-self: center; padding: 80px 0; }
.jm-hero h1 { max-width: 760px; margin: 0; color: #fff; font: 400 clamp(52px, 6.5vw, 84px)/.98 var(--jm-serif); letter-spacing: -.045em; }
.jm-hero h1 em { color: var(--jm-gold-light); font-style: normal; }
.jm-hero__copy { max-width: 640px; margin: 26px 0 0; color: rgba(255,255,255,.76); font-size: clamp(18px, 2vw, 21px); }
.jm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.jm-hero__portrait { position: relative; align-self: end; min-height: 600px; }
.jm-hero__portrait::before {
  content: ""; position: absolute; right: 4%; bottom: 0; width: 82%; aspect-ratio: 1; border: 1px solid rgba(195,154,82,.55); border-radius: 50%;
}
.jm-hero__portrait img { position: absolute; z-index: 1; right: 0; bottom: 0; max-height: 650px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.24)); }
.jm-hero__signature {
  position: absolute; z-index: 2; right: 0; bottom: 34px; padding: 16px 22px; color: var(--jm-navy);
  background: rgba(255,253,249,.94); box-shadow: var(--jm-shadow); font-family: var(--jm-serif); font-size: 21px;
}
.jm-authority { border-bottom: 1px solid var(--jm-line); background: #fff; }
.jm-authority__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.jm-authority__item { padding: 30px 36px; border-right: 1px solid var(--jm-line); }
.jm-authority__item:first-child { padding-left: 0; }
.jm-authority__item:last-child { border-right: 0; }
.jm-authority strong { display: block; color: var(--jm-navy); font: 400 28px/1.1 var(--jm-serif); }
.jm-authority span { color: var(--jm-muted); font-size: 14px; }

/* About and process */
.jm-about { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.jm-about__visual { position: relative; min-height: 600px; background: var(--jm-navy); }
.jm-about__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jm-about__visual::after { content: ""; position: absolute; right: -20px; bottom: -20px; width: 70%; height: 70%; border-right: 1px solid var(--jm-gold); border-bottom: 1px solid var(--jm-gold); pointer-events: none; }
.jm-about__copy p { color: var(--jm-muted); }
.jm-quote { margin: 34px 0 0; padding: 22px 0 0 28px; border-left: 2px solid var(--jm-gold); color: var(--jm-navy); font: 400 25px/1.4 var(--jm-serif); }
.jm-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.jm-process-card { padding: 38px; background: #fff; border: 1px solid var(--jm-line); }
.jm-process-card__number { color: var(--jm-gold); font: 400 42px/1 var(--jm-serif); }
.jm-process-card h3 { margin: 42px 0 12px; color: var(--jm-navy); font: 400 26px/1.2 var(--jm-serif); }
.jm-process-card p { margin: 0; color: var(--jm-muted); }
.jm-exclusive { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.jm-exclusive__list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.jm-exclusive__item { display: grid; grid-template-columns: 40px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.jm-exclusive__item span { color: var(--jm-gold-light); }

/* Properties */
.jm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.jm-property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.jm-property-card { overflow: hidden; background: #fff; border: 1px solid var(--jm-line); transition: transform .28s, box-shadow .28s; }
.jm-property-card:hover { transform: translateY(-5px); box-shadow: var(--jm-shadow); }
.jm-property-card__media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--jm-navy-soft); }
.jm-property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.jm-property-card:hover .jm-property-card__media img { transform: scale(1.035); }
.jm-property-card__tag { position: absolute; top: 18px; left: 18px; padding: 7px 12px; background: var(--jm-gold); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jm-property-card__body { padding: 30px; }
.jm-property-card__location { color: var(--jm-gold); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.jm-property-card h3 { margin: 10px 0 13px; color: var(--jm-navy); font: 400 31px/1.15 var(--jm-serif); }
.jm-property-card__excerpt { margin: 0; color: var(--jm-muted); }
.jm-property-card__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--jm-line); color: var(--jm-ink); font-size: 14px; }
.jm-property-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.jm-price small { display: block; color: var(--jm-muted); font-size: 12px; }
.jm-price strong { color: var(--jm-navy); font: 400 25px/1.2 var(--jm-serif); }
.jm-text-link { color: var(--jm-navy); font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--jm-gold); }
.jm-empty { padding: 50px; text-align: center; border: 1px solid var(--jm-line); }

/* Featured opportunity — preserved from the original Janna München site */
.jm-opps { background: #fff; }
.jm-opps-head { max-width: 740px; margin: 0 auto 42px; text-align: center; }
.jm-opps-head .jm-title { margin-right: auto; margin-left: auto; font-size: clamp(35px, 4vw, 52px); line-height: 1.15; }
.jm-opps-head > p { margin: 0; color: var(--jm-muted); }
.jm-kicker { margin-bottom: 14px; color: var(--jm-gold); font-size: 13px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.jm-property-featured { display: grid; min-height: 480px; grid-template-columns: 1.15fr 1fr; overflow: hidden; background: var(--jm-cream); box-shadow: 0 18px 55px rgba(16,35,63,.1); }
.jm-property-featured__image { position: relative; min-height: 420px; background-position: center; background-size: cover; background-repeat: no-repeat; }
.jm-property-featured__image::after { content: "Oportunidade exclusiva"; position: absolute; top: 22px; left: 22px; padding: 9px 13px; color: #fff; background: var(--jm-gold); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.jm-property-featured__info { display: flex; padding: 48px; flex-direction: column; justify-content: center; }
.jm-property-featured__info h3 { margin: 0 0 16px; color: var(--jm-navy); font: 400 35px/1.18 var(--jm-serif); }
.jm-property-featured__info > p { margin: 0 0 23px; color: var(--jm-ink); }
.jm-property-featured__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.jm-property-featured__facts span { padding: 8px 10px; background: #fff; border: 1px solid #e2d9ca; font-size: 13px; }
.jm-property-featured__price { margin-bottom: 22px; color: var(--jm-navy); font: 400 31px/1.2 var(--jm-serif); }
.jm-property-featured__price small { display: block; margin-bottom: 3px; color: var(--jm-gold); font: 700 11px/1.4 var(--jm-sans); letter-spacing: .12em; text-transform: uppercase; }
.jm-property-featured__info .jm-button { align-self: flex-start; }

/* CTA and footer */
.jm-cta { position: relative; overflow: hidden; padding: 95px 0; color: #fff; background: var(--jm-navy); }
.jm-cta::after { content: ""; position: absolute; top: -180px; right: -120px; width: 520px; height: 520px; border: 1px solid rgba(195,154,82,.3); border-radius: 50%; }
.jm-cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(50px, 8vw, 110px); }
.jm-cta__content { max-width: 820px; }
.jm-cta .jm-cta__title { max-width: 820px; margin: 0; color: #fff !important; font: 400 clamp(40px, 5vw, 64px)/1.05 var(--jm-serif); letter-spacing: -.03em; }
.jm-cta p { max-width: 650px; margin: 18px 0 0; color: rgba(255,255,255,.72); }
.jm-cta .jm-eyebrow { margin-bottom: 20px; color: var(--jm-gold-light); }
.jm-cta__inner > .jm-button { min-width: 260px; }
.jm-footer { padding: 55px 0 25px; color: rgba(255,255,255,.72); background: #071324; }
.jm-footer__main { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; padding-bottom: 42px; }
.jm-footer__logo { width: 220px; filter: brightness(0) invert(1); opacity: .94; }
.jm-footer h3 { margin: 0 0 16px; color: #fff; font: 400 21px/1.2 var(--jm-serif); }
.jm-footer ul { list-style: none; margin: 0; padding: 0; }
.jm-footer li + li { margin-top: 8px; }
.jm-footer a:hover { color: var(--jm-gold-light); }
.jm-footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.jm-whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.jm-whatsapp-float svg { width: 28px; fill: currentColor; }

/* Property detail */
.jm-property-hero { position: relative; min-height: 680px; display: flex; align-items: end; color: #fff; background: var(--jm-navy-deep); }
.jm-property-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jm-property-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,36,.96) 0%, rgba(7,19,36,.82) 48%, rgba(7,19,36,.3) 100%); }
.jm-property-hero__content { position: relative; z-index: 1; max-width: var(--jm-container); padding: 105px 0 72px; }
.jm-property-hero h1 { max-width: 850px; margin: 0; color: #fff !important; font: 400 clamp(48px, 5.6vw, 72px)/1.01 var(--jm-serif); letter-spacing: -.04em; text-wrap: balance; }
.jm-property-hero__intro { max-width: 650px; margin: 23px 0 0; color: rgba(255,255,255,.82); font-size: 20px; }
.jm-property-hero__content > .jm-button { margin-top: 27px; }
.jm-property-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; padding: 34px 0; border-bottom: 1px solid var(--jm-line); }
.jm-facts { display: flex; flex-wrap: wrap; gap: 20px 38px; }
.jm-fact small { display: block; color: var(--jm-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jm-fact strong { color: var(--jm-navy); font: 400 22px/1.25 var(--jm-serif); }
.jm-property-price { padding-left: 36px; border-left: 1px solid rgba(195,154,82,.55); text-align: right; }
.jm-property-price small { display: block; color: var(--jm-muted); }
.jm-property-price strong { display: block; margin: 2px 0; color: var(--jm-navy); font: 400 34px/1.1 var(--jm-serif); }
.jm-detail-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(55px, 7vw, 90px); align-items: start; }
.jm-rich-content h2 { margin: 34px 0 18px; color: var(--jm-navy); font: 400 38px/1.12 var(--jm-serif); }
.jm-rich-content .jm-eyebrow + h2 { margin-top: 28px; }
.jm-rich-content p { color: var(--jm-muted); }
.jm-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 30px 0 0; padding: 0; }
.jm-feature-list li { position: relative; padding: 14px 14px 14px 40px; background: var(--jm-cream); }
.jm-feature-list li::before { content: "◆"; position: absolute; left: 16px; color: var(--jm-gold); font-size: 10px; }
.jm-contact-card { position: sticky; top: 120px; padding: 42px; color: #fff; background: var(--jm-navy); border-top: 3px solid var(--jm-gold); box-shadow: var(--jm-shadow); }
.jm-contact-card .jm-eyebrow { color: var(--jm-gold-light); }
.jm-contact-card h2 { margin: 0; color: #fff !important; font: 400 34px/1.15 var(--jm-serif); }
.jm-contact-card__text { margin: 20px 0 0; color: rgba(255,255,255,.75) !important; }
.jm-contact-card .jm-button { width: 100%; margin-top: 12px; }
.jm-gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: 260px; gap: 12px; margin-top: 42px; }
.jm-gallery button { overflow: hidden; padding: 0; border: 0; background: var(--jm-cream); cursor: zoom-in; }
.jm-gallery button:first-child { grid-row: span 2; }
.jm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.jm-gallery button:hover img { transform: scale(1.03); }
.jm-lightbox { position: fixed; z-index: 5000; inset: 0; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(4,10,19,.94); }
.jm-lightbox.is-open { display: flex; }
.jm-lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; }
.jm-lightbox__close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.jm-archive-hero { padding: 100px 0 70px; background: var(--jm-cream); }
.jm-page { min-height: 55vh; }
.jm-page article { max-width: 820px; margin-inline: auto; }
.jm-page h1 { color: var(--jm-navy); font: 400 clamp(44px, 6vw, 70px)/1.05 var(--jm-serif); }
.jm-pagination { margin-top: 45px; }
.jm-pagination .nav-links { display: flex; gap: 8px; }
.jm-pagination a, .jm-pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--jm-line); }
.jm-pagination .current { color: #fff; background: var(--jm-navy); }

@media (max-width: 980px) {
  body.admin-bar .jm-header { top: 46px; }
  .jm-nav__links { display: none; position: absolute; top: 100%; right: 20px; left: 20px; padding: 20px; flex-direction: column; align-items: stretch; gap: 0; background: var(--jm-navy); border: 1px solid rgba(255,255,255,.16); box-shadow: var(--jm-shadow); }
  .jm-nav__links.is-open { display: flex; }
  .jm-nav__links a { display: block; padding: 11px; }
  .jm-nav__mobile-lead { display: block; }
  .jm-nav__mobile-lead a { margin-top: 8px; color: #fff; background: var(--jm-gold); text-align: center; }
  .jm-menu-toggle { display: block; }
  .jm-nav > .jm-button { display: none; }
  .jm-hero__inner { min-height: 740px; grid-template-columns: 1fr .65fr; gap: 20px; }
  .jm-hero__portrait { min-height: 520px; }
  .jm-authority__item { padding-inline: 22px; }
  .jm-about, .jm-exclusive, .jm-detail-grid { grid-template-columns: 1fr; gap: 55px; }
  .jm-about__visual { min-height: 500px; }
  .jm-process-grid { grid-template-columns: 1fr; }
  .jm-process-card h3 { margin-top: 20px; }
  .jm-contact-card { position: static; }
  .jm-property-featured { grid-template-columns: 1fr; }
  .jm-property-featured__image { min-height: 390px; }
  .jm-gallery { grid-template-columns: 1fr 1fr; }
  .jm-gallery button:first-child { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 720px) {
  .jm-container { width: min(calc(100% - 28px), var(--jm-container)); }
  .jm-header__inner { min-height: 78px; }
  .jm-logo img { width: 170px; }
  .jm-hero__inner { min-height: auto; display: flex; flex-direction: column; align-items: stretch; }
  .jm-hero__content { z-index: 2; padding: 72px 0 20px; }
  .jm-hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .jm-hero__portrait { min-height: 440px; }
  .jm-hero__portrait img { right: 50%; transform: translateX(50%); max-height: 470px; }
  .jm-hero__signature { right: 0; bottom: 18px; font-size: 17px; }
  .jm-authority__grid { grid-template-columns: 1fr; padding: 14px 0; }
  .jm-authority__item, .jm-authority__item:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--jm-line); }
  .jm-authority__item:last-child { border-bottom: 0; }
  .jm-section-head, .jm-cta__inner, .jm-property-summary { align-items: start; flex-direction: column; display: flex; }
  .jm-property-grid { grid-template-columns: 1fr; }
  .jm-opps-head { margin-bottom: 34px; }
  .jm-property-featured__image { min-height: 320px; }
  .jm-property-featured__info { padding: 32px; }
  .jm-property-featured__info h3 { font-size: 30px; }
  .jm-property-featured__info .jm-button { width: 100%; }
  .jm-property-card__footer { align-items: start; flex-direction: column; }
  .jm-about__visual { min-height: 420px; }
  .jm-exclusive { gap: 40px; }
  .jm-footer__main { grid-template-columns: 1fr; gap: 32px; }
  .jm-footer__bottom { flex-direction: column; }
  .jm-property-hero { min-height: 620px; }
  .jm-property-hero::after { background: linear-gradient(0deg, rgba(7,19,36,.96), rgba(7,19,36,.24)); }
  .jm-property-hero__content { padding: 150px 0 55px; }
  .jm-property-price { padding-left: 0; border-left: 0; text-align: left; }
  .jm-feature-list { grid-template-columns: 1fr; }
  .jm-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .jm-gallery button:first-child { grid-column: auto; }
}

/* Property landing page — editorial, immersive and conversion focused */
.jm-property-landing {
  --jm-lp-space: clamp(82px, 10vw, 150px);
  overflow: clip;
  background: var(--jm-paper);
}
.jm-property-landing section[id] { scroll-margin-top: 110px; }
.jm-lp-nav {
  position: sticky;
  z-index: 850;
  top: 92px;
  background: rgba(247,243,234,.94);
  border-bottom: 1px solid rgba(16,35,63,.12);
  backdrop-filter: blur(14px);
}
body.admin-bar .jm-lp-nav { top: 124px; }
.jm-lp-nav__inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 38px);
}
.jm-lp-nav a {
  color: var(--jm-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.jm-lp-nav a:hover { color: var(--jm-gold); }
.jm-lp-nav .jm-lp-nav__cta {
  padding: 9px 14px;
  color: #fff;
  background: var(--jm-gold);
}

.jm-lp-hero {
  position: relative;
  min-height: min(920px, calc(100vh - 92px));
  color: #fff;
  background: var(--jm-navy-deep);
}
.jm-lp-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.82) contrast(1.02);
}
.jm-lp-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,17,31,.94) 0%, rgba(6,17,31,.8) 46%, rgba(6,17,31,.48) 100%),
    linear-gradient(0deg, rgba(6,17,31,.54), transparent 48%);
}
.jm-lp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, .66fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
  padding-block: clamp(78px, 10vh, 120px);
}
.jm-lp-hero__content { max-width: 760px; }
.jm-lp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.jm-lp-hero__meta span {
  padding: 7px 11px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.jm-lp-hero .jm-eyebrow { color: var(--jm-gold-light); }
.jm-lp-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff !important;
  font: 400 clamp(50px, 5.7vw, 79px)/.99 var(--jm-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.jm-lp-hero__intro {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.7vw, 21px);
}
.jm-lp-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 36px;
  border-block: 1px solid rgba(255,255,255,.2);
}
.jm-lp-hero__facts div {
  min-width: 132px;
  padding: 18px 28px 18px 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.jm-lp-hero__facts div:last-child { border-right: 0; }
.jm-lp-hero__facts strong {
  display: block;
  color: #fff;
  font: 400 27px/1.1 var(--jm-serif);
}
.jm-lp-hero__facts span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.jm-lp-hero__mobile-cta { display: none; margin-top: 28px; }

.jm-lp-lead {
  padding: clamp(34px, 4vw, 48px);
  color: var(--jm-ink);
  background: rgba(255,255,255,.96);
  border-top: 3px solid var(--jm-gold);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.jm-lp-lead__kicker {
  margin: 0 0 12px !important;
  color: var(--jm-gold) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.jm-lp-lead h2 {
  margin: 0;
  color: var(--jm-navy) !important;
  font: 400 clamp(34px, 3.4vw, 48px)/1.05 var(--jm-serif);
}
.jm-lp-lead > p {
  margin: 14px 0 28px;
  color: var(--jm-muted);
  font-size: 14px;
}
.jm-lp-lead label { display: block; margin-top: 16px; }
.jm-lp-lead label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--jm-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.jm-lp-lead input,
.jm-lp-lead select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--jm-ink);
  background: #fff;
  border: 1px solid rgba(16,35,63,.25);
  border-radius: 0;
  outline: 0;
}
.jm-lp-lead input:focus,
.jm-lp-lead select:focus { border-color: var(--jm-gold); box-shadow: 0 0 0 3px rgba(195,154,82,.15); }
.jm-lp-lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jm-lp-lead .jm-button { width: 100%; margin-top: 22px; cursor: pointer; }
.jm-lp-lead .jm-lp-lead__notice {
  margin: 12px 0 0;
  color: var(--jm-muted);
  font-size: 10px;
  line-height: 1.5;
}
.jm-lp-lead__status { min-height: 18px; margin: 7px 0 0 !important; color: #9a4c35 !important; font-size: 12px !important; }
.jm-lp-lead__status.is-success { color: #287a4a !important; }
.jm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.jm-lp-lead .jm-lead-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; cursor: pointer; }
.jm-lp-lead .jm-lead-consent input { width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--jm-gold); }
.jm-lp-lead .jm-lead-consent > span { color: var(--jm-muted); font-size: 11px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; }
.jm-lp-lead button:disabled { opacity: .65; cursor: wait; }

.jm-lead-modal { position: fixed; z-index: 6000; inset: 0; display: none; padding: 24px; }
.jm-lead-modal.is-open { display: grid; place-items: center; }
.jm-lead-modal__backdrop { position: absolute; inset: 0; background: rgba(4,10,19,.82); backdrop-filter: blur(5px); }
.jm-lead-modal__dialog { position: relative; width: min(640px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.35); }
.jm-lead-modal__close { position: absolute; z-index: 2; top: 14px; right: 16px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--jm-line); border-radius: 50%; color: var(--jm-navy); background: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.jm-lead-modal__heading { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); white-space: nowrap; }
.jm-lp-lead--modal { width: 100%; max-width: none; padding: 46px; border-top: 5px solid var(--jm-gold); box-shadow: none; }
body.jm-modal-open { overflow: hidden; }

.jm-lp-pricebar { background: var(--jm-cream); border-bottom: 1px solid var(--jm-line); }
.jm-lp-pricebar__inner {
  display: grid;
  min-height: 140px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 36px;
}
.jm-lp-pricebar__inner > div + div { padding-left: 34px; border-left: 1px solid rgba(195,154,82,.45); }
.jm-lp-pricebar span {
  display: block;
  color: var(--jm-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.jm-lp-pricebar strong {
  display: block;
  margin-top: 5px;
  color: var(--jm-navy);
  font: 400 clamp(23px, 2.1vw, 31px)/1.15 var(--jm-serif);
}
.jm-lp-pricebar strong small { color: var(--jm-muted); font: 400 12px/1.4 var(--jm-sans); }

.jm-lp-story { padding: var(--jm-lp-space) 0; background: #fff; }
.jm-lp-story__intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
  gap: clamp(60px, 10vw, 140px);
}
.jm-lp-story h2,
.jm-lp-section-head h2,
.jm-lp-audiences h2,
.jm-lp-location h2,
.jm-lp-final h2 {
  margin: 0;
  color: var(--jm-navy) !important;
  font: 400 clamp(43px, 5.2vw, 70px)/1.02 var(--jm-serif);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.jm-lp-story__copy p { margin: 0 0 19px; color: var(--jm-muted); font-size: 18px; }
.jm-lp-story__copy .jm-button { margin-top: 12px; }
.jm-lp-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(65px, 8vw, 105px);
  border-top: 1px solid var(--jm-line);
  border-left: 1px solid var(--jm-line);
}
.jm-lp-feature {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--jm-line);
  border-bottom: 1px solid var(--jm-line);
}
.jm-lp-feature > span { color: var(--jm-gold); font: 400 16px/1 var(--jm-serif); }
.jm-lp-feature h3 { margin: 54px 0 0; color: var(--jm-navy); font: 400 22px/1.2 var(--jm-serif); }

.jm-lp-editorial {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1fr 1fr;
  background: var(--jm-navy);
}
.jm-lp-editorial__image { position: relative; min-height: 650px; overflow: hidden; }
.jm-lp-editorial__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.jm-lp-editorial__content {
  display: flex;
  padding: clamp(70px, 9vw, 145px);
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.jm-lp-editorial__content .jm-eyebrow { color: var(--jm-gold-light); }
.jm-lp-editorial__content > h2 {
  margin: 0;
  color: #fff !important;
  font: 400 clamp(42px, 4.7vw, 67px)/1.03 var(--jm-serif);
  letter-spacing: -.04em;
}
.jm-lp-editorial__text { margin-top: 26px; color: rgba(255,255,255,.72); }
.jm-lp-editorial__text h2 { margin: 24px 0 8px; color: #fff !important; font: 400 25px/1.2 var(--jm-serif); }
.jm-lp-editorial__text p { margin: 0 0 14px; }
.jm-lp-editorial__content > .jm-button { align-self: flex-start; margin-top: 24px; }

.jm-lp-gallery-section { padding: var(--jm-lp-space) 0; background: var(--jm-cream); }
.jm-lp-section-head {
  display: grid;
  grid-template-columns: 1fr .55fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 55px;
}
.jm-lp-section-head > p { max-width: 430px; margin: 0; color: var(--jm-muted); }
.jm-lp-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 270px;
  gap: 12px;
}
.jm-lp-gallery button {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  padding: 0;
  border: 0;
  background: var(--jm-navy);
  cursor: zoom-in;
}
.jm-lp-gallery button:first-child { grid-column: span 7; grid-row: span 2; }
.jm-lp-gallery button:nth-child(2) { grid-column: span 5; }
.jm-lp-gallery button:nth-child(3) { grid-column: span 5; }
.jm-lp-gallery button:nth-child(4),
.jm-lp-gallery button:nth-child(5) { grid-column: span 6; }
.jm-lp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, opacity .4s; }
.jm-lp-gallery button:hover img { transform: scale(1.035); opacity: .88; }
.jm-lp-gallery button > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(9,23,42,.8);
  font-size: 11px;
}

.jm-lp-audiences { padding: var(--jm-lp-space) 0; color: #fff; background: var(--jm-navy); }
.jm-lp-audiences .jm-eyebrow { color: var(--jm-gold-light); }
.jm-lp-audiences h2 { color: #fff !important; }
.jm-lp-audiences__grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 65px; border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.jm-lp-audiences article { min-height: 350px; padding: clamp(38px, 5vw, 70px); border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.jm-lp-audiences article > span { color: var(--jm-gold-light); font: 400 17px/1 var(--jm-serif); }
.jm-lp-audiences h3 { max-width: 470px; margin: 70px 0 18px; color: #fff; font: 400 clamp(29px, 3vw, 40px)/1.12 var(--jm-serif); }
.jm-lp-audiences article p { max-width: 530px; color: rgba(255,255,255,.68); }
.jm-lp-audiences article a { display: inline-block; margin-top: 16px; color: var(--jm-gold-light); font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; }

.jm-lp-location { padding: var(--jm-lp-space) 0; background: #fff; }
.jm-lp-location__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(70px, 10vw, 150px); }
.jm-lp-location__address { margin: 34px 0 0; color: var(--jm-gold); font-size: 15px; font-weight: 800; letter-spacing: .05em; }
.jm-lp-location__details > p { margin: 0 0 48px; color: var(--jm-muted); font-size: 19px; }
.jm-lp-location dl { margin: 0; border-top: 1px solid var(--jm-line); }
.jm-lp-location dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--jm-line); }
.jm-lp-location dt { color: var(--jm-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jm-lp-location dd { margin: 0; color: var(--jm-navy); font: 400 21px/1.2 var(--jm-serif); }

.jm-lp-final { position: relative; overflow: hidden; padding: 100px 0; color: #fff; background: var(--jm-navy-deep); }
.jm-lp-final::after { content: ""; position: absolute; top: -280px; right: -170px; width: 650px; height: 650px; border: 1px solid rgba(195,154,82,.25); border-radius: 50%; }
.jm-lp-final__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 80px; }
.jm-lp-final .jm-eyebrow { color: var(--jm-gold-light); }
.jm-lp-final h2 { max-width: 850px; color: #fff !important; font-size: clamp(40px, 4.6vw, 62px); }
.jm-lp-final p { max-width: 700px; margin: 22px 0 0; color: rgba(255,255,255,.7); }
.jm-lp-final .jm-button { min-width: 245px; }

@media (max-width: 1080px) {
  .jm-lp-hero__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 42px; }
  .jm-lp-features { grid-template-columns: repeat(2, 1fr); }
  .jm-lp-editorial__content { padding: 70px 50px; }
  .jm-lp-pricebar__inner { grid-template-columns: repeat(3, 1fr); padding-block: 24px; }
  .jm-lp-pricebar__inner > .jm-text-link { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  .jm-lp-nav { top: 78px; overflow-x: auto; }
  body.admin-bar .jm-lp-nav { top: 124px; }
  .jm-lp-nav__inner { width: max-content; min-width: 100%; justify-content: flex-start; padding-inline: 18px; }
  .jm-lp-hero { min-height: auto; }
  .jm-lp-hero__inner { grid-template-columns: 1fr; padding-block: 80px; }
  .jm-lp-hero__content { max-width: 720px; }
  .jm-lp-lead { max-width: 620px; }
  .jm-lp-hero__mobile-cta { display: inline-flex; }
  .jm-lp-story__intro,
  .jm-lp-section-head,
  .jm-lp-location__grid { grid-template-columns: 1fr; gap: 45px; }
  .jm-lp-editorial { grid-template-columns: 1fr; }
  .jm-lp-editorial__image { min-height: 600px; }
  .jm-lp-audiences__grid { grid-template-columns: 1fr; }
  .jm-lp-final__inner { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 620px) {
  .jm-property-landing { --jm-lp-space: 78px; }
  .jm-property-landing section[id] { scroll-margin-top: 94px; }
  .jm-lp-nav__inner { gap: 18px; }
  .jm-lp-nav a { white-space: nowrap; font-size: 10px; }
  .jm-lp-hero__veil { background: linear-gradient(0deg, rgba(6,17,31,.97) 0%, rgba(6,17,31,.8) 72%, rgba(6,17,31,.56) 100%); }
  .jm-lp-hero__inner { padding-block: 65px; }
  .jm-lp-hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .jm-lp-hero__facts div { min-width: 104px; padding-right: 16px; margin-right: 16px; }
  .jm-lp-lead { padding: 30px 22px; }
  .jm-lp-lead--modal { padding-top: 50px; }
  .jm-lp-lead__row { grid-template-columns: 1fr; gap: 0; }
  .jm-lp-pricebar__inner { grid-template-columns: 1fr; gap: 20px; padding-block: 30px; }
  .jm-lp-pricebar__inner > div + div { padding: 20px 0 0; border-top: 1px solid rgba(195,154,82,.35); border-left: 0; }
  .jm-lp-story h2,
  .jm-lp-section-head h2,
  .jm-lp-audiences h2,
  .jm-lp-location h2,
  .jm-lp-final h2 { font-size: clamp(40px, 12vw, 54px); }
  .jm-lp-features { grid-template-columns: 1fr; }
  .jm-lp-feature { min-height: 150px; }
  .jm-lp-feature h3 { margin-top: 35px; }
  .jm-lp-editorial__image { min-height: 480px; }
  .jm-lp-editorial__content { padding: 65px 24px; }
  .jm-lp-gallery { display: grid; grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .jm-lp-gallery button,
  .jm-lp-gallery button:first-child,
  .jm-lp-gallery button:nth-child(2),
  .jm-lp-gallery button:nth-child(3),
  .jm-lp-gallery button:nth-child(4),
  .jm-lp-gallery button:nth-child(5) { grid-column: auto; grid-row: auto; }
  .jm-lp-audiences article { min-height: auto; padding: 42px 26px; }
  .jm-lp-audiences h3 { margin-top: 45px; }
  .jm-lp-location dl div { grid-template-columns: 1fr; gap: 5px; }
  .jm-lp-final { padding: 78px 0; }
  .jm-lp-final .jm-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
