/* Jumeirah Bay Villas editorial — shared project chrome (Yards Plaza, Kore) */

body.jbv-editorial {
  scroll-behavior: smooth;
  --jbv-navy: #0f2a3d;
  --jbv-navy-deep: #0b1f2d;
  --jbv-gold: #b8985a;
  --jbv-gold-soft: #d0b47a;
  --jbv-sand: #f3ede1;
  --jbv-cream: #fbf9f4;
  --jbv-ink: #141414;
  --jbv-ink-soft: #4a423a;
  --typ-panel: var(--jbv-navy);
  --typ-panel-alt: var(--jbv-sand);
  --typ-gold: var(--jbv-gold);
  --typ-black: var(--jbv-ink);
  --typ-white: var(--jbv-cream);
  --typ-muted: rgba(20, 20, 20, 0.68);
  --typ-dim: rgba(20, 20, 20, 0.52);
  --typ-line: rgba(20, 20, 20, 0.12);
  --typ-line-on-dark: rgba(251, 249, 244, 0.18);
  --typ-serif: "Cormorant Garamond", Georgia, serif;
  --typ-sans: "Jost", "Helvetica Neue", system-ui, sans-serif;
  --typ-nav-h: 72px;
  color: var(--jbv-ink);
  background: var(--jbv-cream);
  font-family: var(--typ-sans);
  font-size: 1rem;
  line-height: 1.65;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.jbv-editorial *,
body.jbv-editorial *::before,
body.jbv-editorial *::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.jbv-editorial a {
  color: var(--jbv-navy);
}

body.jbv-editorial a:hover {
  color: var(--jbv-gold);
}

body.jbv-editorial .typ-nav-links a,
body.jbv-editorial .typ-footer-nav a,
body.jbv-editorial .typ-footer-link-btn {
  color: var(--jbv-ink-soft);
}

body.jbv-editorial .typ-nav-links a:hover,
body.jbv-editorial .typ-footer-nav a:hover {
  color: var(--jbv-gold);
}

body.jbv-editorial .skip-link {
  background: var(--jbv-gold);
  color: var(--jbv-ink);
}

body.jbv-editorial .site-footer,
body.jbv-editorial .nav-wrap,
body.jbv-editorial .float-register,
body.jbv-editorial .whatsapp-widget {
  display: none !important;
}

/* Nav */
.typ-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--typ-nav-h);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--typ-line);
  padding-top: env(safe-area-inset-top, 0);
}

.typ-nav {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--typ-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.typ-wordmark {
  font-family: var(--typ-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--typ-white);
  text-decoration: none;
}

.typ-wordmark em {
  font-style: italic;
  color: var(--typ-gold);
}

.typ-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.typ-nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--typ-muted);
  text-decoration: none;
}

.typ-nav-links a:hover {
  color: var(--typ-gold);
}

.typ-nav-cta {
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
  white-space: nowrap;
}

.typ-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--typ-line);
  color: var(--typ-white);
  padding: 0.45rem 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 767px) {
  .typ-nav-links {
    display: none;
  }

  .typ-nav-wrap.is-open .typ-nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset-inline: 0;
    top: var(--typ-nav-h);
    background: rgba(0, 0, 0, 0.97);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--typ-line);
    align-items: flex-start;
  }

  .typ-nav-toggle {
    display: inline-flex;
  }
}

/* Hero */
.typ-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  background-color: var(--typ-black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.typ-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.7) 80%,
    rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
}

.typ-hero-inner {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  padding: 0 1.25rem 4.5rem;
}

.typ-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--typ-gold);
  margin: 0 0 1rem;
}

.typ-display {
  font-family: var(--typ-serif);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.typ-display em {
  font-style: italic;
  color: var(--typ-gold);
}

.typ-hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.02rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.typ-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

button.typ-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.typ-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--typ-gold);
  cursor: pointer;
  font-family: var(--typ-sans);
}

.typ-btn-outline {
  background: transparent;
  color: var(--typ-white);
}

.typ-btn-outline:hover {
  background: rgba(201, 169, 110, 0.12);
  color: var(--typ-gold);
}

.typ-btn-gold {
  background: var(--typ-gold);
  color: var(--typ-black);
  border-color: var(--typ-gold);
}

.typ-btn-gold:hover {
  background: #d4b87a;
  color: var(--typ-black);
}

.typ-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  z-index: 1;
}

.typ-scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--typ-gold), transparent);
  animation: typ-scroll-pulse 2s ease-in-out infinite;
}

@keyframes typ-scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.typ-scroll-label {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--typ-dim);
}

/* Sections */
.typ-section {
  padding: 4.5rem 1.25rem;
}

.typ-section--panel {
  background: var(--typ-panel);
}

.typ-section--alt {
  background: var(--typ-panel-alt);
}

.typ-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.typ-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.typ-h2 {
  font-family: var(--typ-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0.35rem 0 0;
}

.typ-h2 em {
  font-style: italic;
  color: var(--typ-gold);
}

.typ-h3 {
  font-family: var(--typ-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
}

.typ-prose {
  color: var(--typ-muted);
  margin: 0 0 1rem;
}

.typ-prose:last-child {
  margin-bottom: 0;
}

.typ-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .typ-two-col {
    grid-template-columns: 1fr;
  }
}

/* Stats */
.typ-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: none;
}

.typ-stat {
  flex: 1 1 140px;
  text-align: center;
  padding: 1.5rem 1rem;
  border-inline-end: 1px solid var(--typ-line);
}

.typ-stat:last-child {
  border-inline-end: none;
}

@media (max-width: 560px) {
  .typ-stat {
    flex: 1 1 45%;
    border-inline-end: none;
    border-bottom: 1px solid var(--typ-line);
  }
}

.typ-stat-value {
  font-family: var(--typ-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  margin: 0 0 0.35rem;
}

.typ-stat-value--gold {
  color: var(--typ-gold);
}

.typ-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--typ-dim);
  margin: 0;
}

.typ-stat-note {
  font-size: 0.6rem;
  color: var(--typ-dim);
  margin: 0.35rem 0 0;
}

/* Tables */
.typ-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.typ-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.typ-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--typ-gold);
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--typ-line);
}

.typ-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--typ-line);
  color: var(--typ-muted);
  vertical-align: top;
}

.typ-table-facts td:first-child {
  width: 42%;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--typ-dim);
}

.typ-table-facts td:last-child {
  color: var(--typ-white);
  font-weight: 500;
}

.typ-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--typ-gold);
  color: var(--typ-gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.typ-note {
  font-size: 0.72rem;
  color: var(--typ-dim);
  margin-top: 0.75rem;
}

/* Building cards */
.typ-building-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 560px) {
  .typ-building-grid {
    grid-template-columns: 1fr;
  }
}

.typ-building-card {
  background: var(--typ-panel);
  border: 1px solid var(--typ-line);
  padding: 2rem;
}

.typ-building-letter {
  font-family: var(--typ-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--typ-gold);
  margin: 0 0 1rem;
}

.typ-kv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.typ-kv-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--typ-line);
  font-size: 0.85rem;
  color: var(--typ-muted);
}

.typ-kv-list li span:last-child {
  color: var(--typ-white);
  text-align: right;
}

/* Amenity grid */
.typ-amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 560px) {
  .typ-amenity-grid {
    grid-template-columns: 1fr;
  }
}

.typ-amenity-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.75rem;
}

.typ-amenity-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--typ-white);
  margin: 0.35rem 0;
}

.typ-amenity-card p {
  font-size: 0.78rem;
  color: var(--typ-dim);
  margin: 0;
}

/* Timeline */
.typ-timeline {
  max-width: 36rem;
  margin: 0 auto;
  text-align: left;
  border-left: 1px solid rgba(201, 169, 110, 0.4);
  padding-left: 1.5rem;
}

.typ-timeline-item {
  position: relative;
  padding: 0 0 1.75rem 0.5rem;
}

.typ-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--typ-gold);
  background: var(--typ-black);
  border-radius: 50% !important;
}

.typ-timeline-date {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--typ-gold);
  margin: 0 0 0.35rem;
}

.typ-timeline-text {
  color: var(--typ-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Location */
.typ-map-wrap {
  width: 100%;
  height: 420px;
  background: var(--typ-panel);
}

.typ-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(90%) contrast(85%);
}

.typ-loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
}

.typ-loc-group h3 {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--typ-gold);
  margin: 0 0 0.75rem;
  font-family: var(--typ-sans);
  font-weight: 600;
}

.typ-loc-item {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

.typ-loc-item strong {
  color: var(--typ-white);
  font-weight: 600;
}

.typ-loc-item span {
  color: var(--typ-muted);
}

/* FAQ */
.typ-faq {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.typ-faq details {
  border-bottom: 1px solid var(--typ-line);
}

.typ-faq details:first-child {
  border-top: 1px solid var(--typ-line);
}

.typ-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2rem 1.1rem 0;
  font-family: var(--typ-serif);
  font-size: 1.15rem;
  position: relative;
}

.typ-faq summary::-webkit-details-marker {
  display: none;
}

.typ-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--typ-gold);
  font-size: 1.25rem;
}

.typ-faq details[open] summary::after {
  content: "×";
}

.typ-faq .typ-faq-a {
  padding: 0 0 1.1rem;
  color: var(--typ-muted);
  font-size: 0.95rem;
}

/* Form */
.typ-form-section {
  max-width: 36rem;
  margin: 0 auto;
}

.typ-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

@media (max-width: 560px) {
  .typ-form {
    grid-template-columns: 1fr;
  }
}

.typ-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.typ-form .field > span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--typ-dim);
}

.typ-form .field-full {
  grid-column: 1 / -1;
}

.typ-form .form-alert {
  grid-column: 1 / -1;
}

.typ-form input:not(.country-picker-search),
.typ-form select,
.typ-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--typ-line);
  color: var(--typ-white);
  padding: 0.75rem 0.85rem;
  font-family: var(--typ-sans);
  font-size: 0.95rem;
  width: 100%;
}

.typ-form input:not(.country-picker-search):focus,
.typ-form select:focus,
.typ-form textarea:focus {
  outline: none;
  border-color: var(--typ-gold);
}

.typ-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.typ-form .phone-row {
  display: flex;
  gap: 0.5rem;
}

.typ-form .phone-row input[type="tel"] {
  flex: 1;
}

.typ-form .country-picker-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--typ-line);
  color: var(--typ-white);
}

.typ-form button[type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.25rem;
}

.typ-form-note {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: var(--typ-dim);
  text-align: center;
  margin: 0;
}

.typ-form .form-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: var(--typ-dim);
}

.typ-form .form-disclaimer a {
  color: var(--typ-gold);
}

/* Footer */
.typ-footer {
  border-top: 1px solid var(--typ-line);
  padding: 2.5rem 1.25rem;
  background: var(--typ-black);
}

.typ-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.typ-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.85rem;
  align-items: center;
}

.typ-footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--typ-muted);
  cursor: pointer;
  text-decoration: none;
}

.typ-footer-link-btn:hover {
  color: var(--typ-gold);
}

.typ-footer-disclaimer {
  font-size: 0.78rem;
  color: var(--typ-dim);
  max-width: 52rem;
  line-height: 1.55;
}

.typ-footer-copy {
  font-size: 0.72rem;
  color: var(--typ-dim);
  margin: 1.25rem 0 0;
}

.typ-footer-copy--center {
  text-align: center;
}

.typ-footer--propertyae .typ-footer-copy {
  text-align: center;
}

/* Sticky CTAs */
.typ-sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.typ-sticky-reg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  min-width: 11rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--typ-gold);
  color: var(--typ-black);
}

.typ-sticky-reg:hover {
  filter: brightness(1.05);
}


/* —— JB Villas: nav (sand bar) —— */
body.jbv-editorial .typ-nav-wrap {
  background: rgba(243, 237, 225, 0.96);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.jbv-editorial .typ-wordmark {
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-nav-toggle {
  border-color: rgba(20, 20, 20, 0.18);
  color: var(--jbv-ink);
}

@media (max-width: 767px) {
  body.jbv-editorial .typ-nav-wrap.is-open .typ-nav-links {
    background: var(--jbv-sand);
    border-bottom-color: rgba(20, 20, 20, 0.08);
  }
}

/* —— Hero (navy wash) —— */
body.jbv-editorial .typ-hero {
  background-color: var(--jbv-navy-deep);
}

body.jbv-editorial .typ-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 42, 61, 0.55) 0%,
    rgba(11, 31, 45, 0.35) 45%,
    rgba(11, 31, 45, 0.82) 100%
  );
}

body.jbv-editorial .typ-hero-sub {
  color: rgba(251, 249, 244, 0.82);
}

body.jbv-editorial .typ-btn-outline {
  border-color: var(--jbv-gold);
  color: var(--jbv-cream);
}

body.jbv-editorial .typ-btn-outline:hover {
  background: var(--jbv-gold);
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-btn-gold {
  background: var(--jbv-gold);
  border-color: var(--jbv-gold);
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-btn-gold:hover {
  background: var(--jbv-gold-soft);
  border-color: var(--jbv-gold-soft);
}

/* —— Light sections —— */
body.jbv-editorial .typ-section {
  background: var(--jbv-cream);
}

body.jbv-editorial .typ-section--alt {
  background: var(--jbv-sand);
}

body.jbv-editorial .typ-section--panel {
  background: var(--jbv-navy);
  color: var(--jbv-cream);
}

body.jbv-editorial .typ-section--panel .typ-h2,
body.jbv-editorial .typ-section--panel .typ-h3,
body.jbv-editorial .typ-section--panel .typ-display {
  color: var(--jbv-cream);
}

body.jbv-editorial .typ-section--panel .typ-h2 em,
body.jbv-editorial .typ-section--panel .typ-h3 em {
  color: var(--jbv-gold-soft);
}

body.jbv-editorial .typ-section--panel .typ-prose,
body.jbv-editorial .typ-section--panel .typ-note,
body.jbv-editorial .typ-section--panel .typ-faq .typ-faq-a {
  color: rgba(251, 249, 244, 0.78);
}

body.jbv-editorial .typ-section--panel .typ-table th {
  color: var(--jbv-gold-soft);
}

body.jbv-editorial .typ-section--panel .typ-table td {
  color: rgba(251, 249, 244, 0.85);
  border-bottom-color: var(--typ-line-on-dark);
}

body.jbv-editorial .typ-section--panel .typ-table th {
  border-bottom-color: var(--typ-line-on-dark);
}

body.jbv-editorial .typ-section--panel .typ-table-facts td:first-child {
  color: rgba(251, 249, 244, 0.55);
}

body.jbv-editorial .typ-section--panel .typ-table-facts td:last-child {
  color: var(--jbv-cream);
}

body.jbv-editorial .typ-section--panel .typ-building-card {
  background: rgba(251, 249, 244, 0.04);
  border-color: var(--typ-line-on-dark);
}

body.jbv-editorial .typ-section--panel .typ-kv-list li {
  border-bottom-color: var(--typ-line-on-dark);
  color: rgba(251, 249, 244, 0.75);
}

body.jbv-editorial .typ-section--panel .typ-kv-list li span:last-child {
  color: var(--jbv-cream);
}

body.jbv-editorial .typ-section--panel .typ-payment-split {
  border-color: var(--typ-line-on-dark);
}

body.jbv-editorial .typ-section--panel .typ-payment-cell {
  border-color: var(--typ-line-on-dark);
}

body.jbv-editorial .typ-section--panel .typ-payment-note {
  color: rgba(251, 249, 244, 0.78);
}

body.jbv-editorial .typ-section--panel .typ-payment-label {
  color: rgba(251, 249, 244, 0.55);
}

body.jbv-editorial .typ-section--panel details,
body.jbv-editorial .typ-section--panel .typ-faq summary {
  border-color: var(--typ-line-on-dark);
  color: var(--jbv-cream);
}

/* —— Stats & cards on cream —— */
body.jbv-editorial .typ-stat {
  border-color: rgba(184, 152, 90, 0.35);
}

body.jbv-editorial .typ-building-card {
  background: var(--jbv-sand);
  border: 1px solid rgba(20, 20, 20, 0.08);
}

body.jbv-editorial .typ-amenity-card {
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

body.jbv-editorial .typ-amenity-card strong {
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-table-facts td:last-child {
  color: var(--jbv-ink);
  font-weight: 500;
}

body.jbv-editorial .typ-kv-list li span:last-child {
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-loc-item strong {
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-map-wrap {
  background: var(--jbv-sand);
}

body.jbv-editorial .typ-map-wrap iframe {
  filter: none;
}

body.jbv-editorial .typ-timeline {
  border-left-color: rgba(184, 152, 90, 0.45);
}

body.jbv-editorial .typ-timeline-item::before {
  background: var(--jbv-cream);
}

body.jbv-editorial .typ-footer {
  background: var(--jbv-navy-deep);
  border-top: 1px solid rgba(184, 152, 90, 0.25);
  color: rgba(251, 249, 244, 0.78);
}

body.jbv-editorial .typ-footer .typ-wordmark {
  color: var(--jbv-cream);
}

body.jbv-editorial .typ-footer-disclaimer,
body.jbv-editorial .typ-footer-copy {
  color: rgba(251, 249, 244, 0.55);
}

body.jbv-editorial .typ-footer-nav a,
body.jbv-editorial .typ-footer-link-btn {
  color: rgba(251, 249, 244, 0.75);
}

body.jbv-editorial .typ-sticky-reg {
  background: var(--jbv-gold);
  color: var(--jbv-ink) !important;
}

/* —— Media figure —— */
body.jbv-editorial .typ-media-figure {
  margin: 2rem 0 0;
}

body.jbv-editorial .typ-media-figure img {
  width: 100%;
  height: auto;
  display: block;
}

body.jbv-editorial .typ-media-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--typ-dim);
  font-weight: 300;
}

body.jbv-editorial .typ-enquire-cta {
  text-align: center;
}

body.jbv-editorial .typ-enquire-cta .typ-prose {
  max-width: 36rem;
  margin-inline: auto;
}

/* —— Forms on cream (inline enquire — rarely shown) —— */
body.jbv-editorial .typ-form input:not(.country-picker-search),
body.jbv-editorial .typ-form textarea,
body.jbv-editorial .typ-form .country-picker-trigger {
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.18);
  color: var(--jbv-ink);
}

body.jbv-editorial .typ-form input:not(.country-picker-search):focus,
body.jbv-editorial .typ-form textarea:focus {
  border-color: var(--jbv-gold);
}

/* —— Register modal (cream card, JB Villas) —— */
body.jbv-editorial .register-modal-backdrop {
  background: rgba(11, 31, 45, 0.72);
}

body.jbv-editorial .register-modal-dialog {
  background: var(--jbv-cream);
  color: var(--jbv-ink);
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow: 0 24px 64px rgba(11, 31, 45, 0.35);
  padding: 2rem 2rem 1.75rem;
}

body.jbv-editorial .register-modal-head {
  margin-bottom: 1.5rem;
}

body.jbv-editorial .register-modal-close {
  color: var(--jbv-ink);
  border: 1px solid rgba(20, 20, 20, 0.14);
  background: rgba(20, 20, 20, 0.05);
}

body.jbv-editorial .register-modal-close:hover {
  border-color: rgba(20, 20, 20, 0.28);
  color: var(--jbv-navy);
  background: rgba(20, 20, 20, 0.08);
}

body.jbv-editorial .register-modal-eyebrow {
  color: var(--jbv-gold);
  margin: 0;
}

body.jbv-editorial .register-modal-title {
  color: var(--jbv-ink);
  font-family: var(--typ-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: normal;
  margin: 0.45rem 0 0.65rem;
}

body.jbv-editorial .register-modal-lead {
  color: var(--jbv-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

body.jbv-editorial .register-modal-body .typ-form.form-modal,
body.jbv-editorial .register-modal-body .form.form-modal {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}

body.jbv-editorial .register-modal-body .typ-form.form-modal .field > span,
body.jbv-editorial .register-modal-body .typ-form.form-modal .phone-field > span,
body.jbv-editorial .register-modal-body .form.form-modal .field > span,
body.jbv-editorial .register-modal-body .form.form-modal .phone-field > span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--jbv-ink-soft);
}

body.jbv-editorial .register-modal-body .typ-form.form-modal input:not(.country-picker-search),
body.jbv-editorial .register-modal-body .typ-form.form-modal textarea,
body.jbv-editorial .register-modal-body .typ-form.form-modal .country-picker-trigger,
body.jbv-editorial .register-modal-body .form.form-modal input:not(.country-picker-search),
body.jbv-editorial .register-modal-body .form.form-modal textarea,
body.jbv-editorial .register-modal-body .form.form-modal .country-picker-trigger {
  background: #f4f3ef;
  border: 1px solid rgba(184, 152, 90, 0.35);
  color: var(--jbv-ink);
  padding: 0.8rem 0.9rem;
  min-height: 2.75rem;
}

body.jbv-editorial .register-modal-body .typ-form.form-modal input:not(.country-picker-search):focus,
body.jbv-editorial .register-modal-body .typ-form.form-modal textarea:focus,
body.jbv-editorial .register-modal-body .form.form-modal input:not(.country-picker-search):focus,
body.jbv-editorial .register-modal-body .form.form-modal textarea:focus {
  border-color: var(--jbv-gold);
  background: #fff;
}

body.jbv-editorial .register-modal-body .typ-form.form-modal textarea,
body.jbv-editorial .register-modal-body .form.form-modal textarea {
  min-height: 5.5rem;
}

body.jbv-editorial .register-modal-body .typ-form.form-modal .btn-primary,
body.jbv-editorial .register-modal-body .typ-form.form-modal button[type="submit"],
body.jbv-editorial .register-modal-body .typ-form.form-modal .typ-btn-gold,
body.jbv-editorial .register-modal-body .form.form-modal .btn-primary,
body.jbv-editorial .register-modal-body .form.form-modal button[type="submit"] {
  background: var(--jbv-navy);
  border: 1px solid var(--jbv-navy);
  color: var(--jbv-cream);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  padding: 0.95rem 1.25rem;
  margin-top: 0.35rem;
}

body.jbv-editorial .register-modal-body .typ-form.form-modal .btn-primary:hover,
body.jbv-editorial .register-modal-body .typ-form.form-modal button[type="submit"]:hover,
body.jbv-editorial .register-modal-body .typ-form.form-modal .typ-btn-gold:hover,
body.jbv-editorial .register-modal-body .form.form-modal .btn-primary:hover,
body.jbv-editorial .register-modal-body .form.form-modal button[type="submit"]:hover {
  background: var(--jbv-navy-deep);
  border-color: var(--jbv-navy-deep);
  color: var(--jbv-cream);
}

body.jbv-editorial .register-modal-body .typ-form-note {
  font-size: 0.75rem;
  color: var(--jbv-ink-soft);
  line-height: 1.45;
}

body.jbv-editorial .register-modal-body .form-disclaimer {
  color: var(--jbv-ink-soft);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.45;
}

body.jbv-editorial .register-modal-body .form-disclaimer a {
  color: var(--jbv-navy);
}

body.jbv-editorial .country-picker-panel {
  z-index: 120;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

body.jbv-editorial .country-picker-panel .country-picker-search {
  color: #1a1a1a;
  background: #fff;
  -webkit-text-fill-color: #1a1a1a;
}

body.jbv-editorial .country-picker-panel .country-picker-search::placeholder {
  color: rgba(26, 26, 26, 0.45);
}

body.jbv-editorial .country-picker-panel .country-picker-search:focus {
  background: #f4f3ef;
}

body.jbv-editorial .country-picker-panel .country-picker-option,
body.jbv-editorial .country-picker-panel .country-picker-option-name {
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
}

body.jbv-editorial .country-picker-panel .country-picker-option-dial,
body.jbv-editorial .country-picker-panel .country-picker-empty {
  color: rgba(26, 26, 26, 0.55);
  -webkit-text-fill-color: rgba(26, 26, 26, 0.55);
}

body.jbv-editorial .country-picker-panel .country-picker-option:hover,
body.jbv-editorial .country-picker-panel .country-picker-option.is-active {
  background: rgba(26, 26, 26, 0.06);
}
