/**
 * Jemasen modern layout — structural visual redesign (no content changes).
 * Transforms the legacy Elementor template into a contemporary marketing site.
 */

.jem-rebrand {
  --jem-max: 72rem;
  --jem-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --jem-section-y: clamp(4rem, 9vw, 6.5rem);
  --jem-radius-xl: 1.75rem;
  --jem-radius-2xl: 2rem;
}

/* ── Ambient page background ── */

.jem-rebrand.jem-modern-ready body {
  background:
    radial-gradient(ellipse 80% 50% at 15% -5%, rgb(123 75 148 / 10%), transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 5%, rgb(45 168 155 / 8%), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgb(244 197 66 / 6%), transparent 45%),
    var(--jem-cream) !important;
}

/* ── Reset dated Elementor chrome ── */

.jem-rebrand .elementor-shape,
.jem-rebrand .elementor-widget-divider .elementor-divider-separator {
  display: none !important;
}

.jem-rebrand .elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

.jem-rebrand .site-main .elementor-section.elementor-section-stretched {
  width: 100% !important;
  left: 0 !important;
}

/* ── Minimal sticky header ── */

.jem-rebrand .elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.jem-rebrand .elementor-location-header .elementor-element-bbb5052 {
  display: block !important;
}

.jem-rebrand .jem-header-top-bar .elementor-element-1af1bc5 {
  display: block !important;
}

.jem-rebrand .jem-header-top-bar > .elementor-container,
.jem-rebrand .jem-header-top-bar .elementor-element-8d01699 > .elementor-widget-wrap {
  padding: 0 !important;
}

.jem-rebrand .jem-header-top-bar .elementor-element-1af1bc5 > .elementor-container {
  max-width: var(--jem-max) !important;
  margin-inline: auto;
  padding-inline: var(--jem-gutter) !important;
  min-height: 0 !important;
  align-items: center !important;
}

.jem-rebrand .jem-header-top-bar .elementor-icon-list-items {
  gap: 1rem 1.5rem;
}

.jem-rebrand .jem-header-top-bar .elementor-icon-list-text {
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .jem-rebrand .jem-header-top-bar .elementor-icon-list-text {
    white-space: normal !important;
  }

  .jem-rebrand .elementor-location-header .elementor-element-7abae939 {
    padding: 0.35rem 0 !important;
  }
}

.jem-rebrand .elementor-location-header .elementor-element-7abae939 {
  padding: 0.5rem 0 !important;
  background: rgb(255 255 255 / 88%) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgb(123 75 148 / 10%) !important;
  box-shadow: 0 8px 32px rgb(27 58 92 / 6%) !important;
}

.jem-rebrand .elementor-location-header .elementor-element-74b241be > .elementor-container {
  max-width: var(--jem-max) !important;
  padding-inline: var(--jem-gutter) !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 0.75rem 1.5rem;
}

.jem-rebrand .elementor-location-header .elementor-element-14fbf9d3 {
  width: auto !important;
  flex: 0 0 auto;
  max-width: 150px;
}

.jem-rebrand .elementor-location-header .elementor-element-fa06190 {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 17rem);
}

.jem-rebrand .elementor-location-header .elementor-element-5d20ded0 {
  width: auto !important;
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 0.75rem;
}

.jem-rebrand .elementor-location-header .rkit-menu-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.1rem;
  overflow: visible;
}

.jem-rebrand .elementor-location-header .rkit-nav-link {
  padding: 0.5rem 0.9rem !important;
  border-radius: 9999px;
  font-size: 0.875rem !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jem-rebrand .elementor-location-header .rkit-menu-active > .rkit-nav-link,
.jem-rebrand .elementor-location-header .rkit-nav-link:hover {
  background: var(--jem-lavender) !important;
  transform: translateY(-1px);
}

.jem-rebrand .elementor-location-header .elementor-button {
  border-radius: 9999px !important;
  padding: 0.75rem 1.35rem !important;
}

/* ── Cinematic hero ── */

.jem-rebrand .jem-hero-cinematic {
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.jem-rebrand .jem-hero-cinematic > .elementor-container {
  max-width: none !important;
  padding: 0 !important;
}

.jem-rebrand .jem-hero-slides .elementor-slides .swiper-slide {
  min-height: clamp(480px, 88vh, 820px) !important;
  height: auto !important;
}

.jem-rebrand .jem-hero-slides .elementor-slides .swiper-slide-inner {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1.5rem, 6vw, 4rem) !important;
  min-height: inherit;
}

.jem-rebrand .jem-hero-slides .swiper-slide-contents {
  max-width: 42rem !important;
  text-align: left !important;
  background: rgb(27 58 92 / 42%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--jem-radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.jem-rebrand .jem-hero-slides .elementor-slide-heading {
  font-size: clamp(2.25rem, 6vw, 4rem) !important;
  line-height: 1.05 !important;
  margin-bottom: 1rem !important;
}

.jem-rebrand .jem-hero-slides .elementor-slide-description {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem) !important;
  margin-bottom: 1.75rem !important;
}

.jem-rebrand .jem-hero-slides .elementor-swiper-button {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.jem-rebrand .jem-hero-slides:hover .elementor-swiper-button {
  opacity: 1;
}

.jem-rebrand .jem-hero-slides .swiper-pagination-bullet {
  width: 2rem !important;
  height: 4px !important;
  border-radius: 9999px !important;
  background: rgb(255 255 255 / 35%) !important;
}

.jem-rebrand .jem-hero-slides .swiper-pagination-bullet-active {
  width: 3rem !important;
  background: var(--jem-sun) !important;
}

/* ── Page rhythm ── */

.jem-rebrand .site-main > .page-content > .elementor {
  overflow: hidden;
}

.jem-rebrand .site-main .elementor-top-section:not(.jem-hero-cinematic):not(.jem-inner-hero):not(.jem-page-hero) > .elementor-container,
.jem-rebrand .site-main .elementor-top-section:not(.jem-hero-cinematic):not(.jem-inner-hero):not(.jem-page-hero) > .e-con-inner,
.jem-rebrand .site-main .e-con-boxed > .e-con-inner {
  max-width: var(--jem-max) !important;
  margin-inline: auto !important;
  padding-inline: var(--jem-gutter) !important;
}

.jem-rebrand .site-main .elementor-top-section:not(.jem-hero-cinematic):not(.jem-inner-hero):not(.jem-page-hero):not(:has(.jem-gallery-duo)) {
  padding-block: var(--jem-section-y) !important;
}

.jem-rebrand .site-main .elementor-top-section:nth-of-type(even):not(.jem-hero-cinematic):not(.jem-inner-hero):not(.jem-page-hero):not(.jem-services-section):not(.jem-bg-brand) {
  background: transparent !important;
}

.jem-rebrand .site-main .elementor-top-section:nth-of-type(odd):not(.jem-hero-cinematic):not(.jem-inner-hero):not(.jem-page-hero):not(.jem-services-section):not(.jem-bg-brand) {
  background: transparent !important;
}

/* ── Section headings ── */

.jem-rebrand .jem-section-heading {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem) !important;
}

.jem-rebrand .jem-section-heading .elementor-heading-title {
  font-family: var(--jem-display) !important;
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  line-height: 1.1 !important;
  display: inline-block;
  position: relative;
  padding-bottom: 0.85rem;
}

.jem-rebrand .jem-section-heading .elementor-heading-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4.5rem;
  height: 5px;
  border-radius: 9999px;
  background: var(--jem-gradient-brand);
}

/* ── Services: unified bento grid ── */

.jem-rebrand .jem-services-section,
.jem-rebrand .elementor-833 .elementor-element-4d75692 {
  background: transparent !important;
}

.jem-rebrand .jem-services-section > .elementor-container,
.jem-rebrand .jem-services-section .elementor-element-298ddb6 > .elementor-widget-wrap {
  background: transparent !important;
}

.jem-rebrand .jem-services-section {
  background: transparent !important;
  padding-block: var(--jem-section-y) !important;
}

.jem-rebrand .jem-services-section > .elementor-container {
  max-width: var(--jem-max) !important;
  padding-inline: var(--jem-gutter) !important;
}

.jem-rebrand .jem-services-section > .elementor-container > .elementor-column {
  background: transparent !important;
}

.jem-rebrand .jem-services-unified {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.jem-rebrand .jem-services-unified > .elementor-column {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.jem-rebrand .jem-services-unified > .elementor-column > .elementor-widget-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--jem-surface) !important;
  border: 1px solid var(--jem-border) !important;
  border-radius: var(--jem-radius-xl) !important;
  padding: 1.75rem !important;
  box-shadow: var(--jem-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  border-top: none !important;
}

.jem-rebrand .jem-services-unified > .elementor-column > .elementor-widget-wrap::before {
  content: '';
  display: block;
  width: 3rem;
  height: 4px;
  border-radius: 9999px;
  background: var(--jem-gradient-life);
  margin-bottom: 1.25rem;
}

.jem-rebrand .jem-services-unified > .elementor-column:nth-child(3n + 1) > .elementor-widget-wrap::before {
  background: var(--jem-gradient-brand);
}

.jem-rebrand .jem-services-unified > .elementor-column:nth-child(3n + 2) > .elementor-widget-wrap::before {
  background: linear-gradient(135deg, var(--jem-teal) 0%, var(--jem-green) 100%);
}

.jem-rebrand .jem-services-unified > .elementor-column:nth-child(3n) > .elementor-widget-wrap::before {
  background: linear-gradient(135deg, var(--jem-pink) 0%, var(--jem-purple) 100%);
}

.jem-rebrand .jem-services-unified > .elementor-column:hover > .elementor-widget-wrap {
  transform: translateY(-8px);
  box-shadow: var(--jem-shadow-hover);
  border-color: rgb(123 75 148 / 22%) !important;
}

.jem-rebrand .jem-services-unified .jem-service-featured {
  grid-column: span 2;
}

.jem-rebrand .jem-services-unified .jem-service-featured > .elementor-widget-wrap {
  background: linear-gradient(145deg, var(--jem-lavender) 0%, var(--jem-surface) 55%) !important;
  border-color: rgb(123 75 148 / 18%) !important;
}

.jem-rebrand .jem-services-unified .elementor-image-box-title {
  font-size: 1.2rem !important;
  margin-bottom: 0.65rem !important;
}

.jem-rebrand .jem-services-unified .elementor-image-box-description {
  flex: 1;
  font-size: 0.98rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jem-rebrand .jem-services-unified .elementor-widget-button {
  margin-top: auto;
  padding-top: 1.25rem;
}

.jem-rebrand .jem-services-unified .elementor-button {
  width: 100%;
  justify-content: center;
  border-radius: 9999px !important;
  padding: 0.85rem 1.25rem !important;
  background: var(--jem-lavender) !important;
  color: var(--jem-purple) !important;
  box-shadow: none !important;
}

.jem-rebrand .jem-services-unified .elementor-button:hover {
  background: var(--jem-purple) !important;
  color: #fff !important;
}

/* ── About / video split ── */

.jem-rebrand .jem-about-split > .elementor-container {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem) !important;
  align-items: center !important;
  background: var(--jem-surface) !important;
  border: 1px solid var(--jem-border);
  border-radius: var(--jem-radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
  box-shadow: var(--jem-shadow);
}

.jem-rebrand .jem-about-split .elementor-column {
  width: 100% !important;
}

.jem-rebrand .jem-about-split .elementor-widget-video .elementor-wrapper {
  border-radius: var(--jem-radius-xl) !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(27 58 92 / 14%);
  aspect-ratio: 16 / 10;
}

.jem-rebrand .jem-about-split .elementor-widget-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jem-rebrand .jem-about-split .elementor-heading-title {
  font-family: var(--jem-display) !important;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
}

/* ── Aim split ── */

.jem-rebrand .jem-aim-split > .elementor-container {
  display: grid !important;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem) !important;
  align-items: center !important;
}

.jem-rebrand .jem-aim-split .elementor-column {
  width: 100% !important;
}

.jem-rebrand .jem-aim-split .elementor-widget-image img {
  border-radius: var(--jem-radius-2xl) !important;
  box-shadow: 0 28px 70px rgb(27 58 92 / 12%);
}

/* ── Stats floating badges ── */

.jem-rebrand .jem-stats-split > .elementor-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem) !important;
  align-items: center !important;
}

.jem-rebrand .jem-stats-split .elementor-element-b78c50d {
  position: relative;
  width: 100% !important;
}

.jem-rebrand .jem-stats-split .elementor-element-b78c50d > .elementor-widget-wrap > .elementor-widget-image img {
  border-radius: var(--jem-radius-2xl) !important;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.jem-rebrand .jem-stats-split .elementor-element-a08e93c {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  width: auto !important;
  margin: 0 !important;
}

.jem-rebrand .jem-stats-split .elementor-element-a08e93c > .elementor-container {
  display: flex !important;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.jem-rebrand .jem-stats-split .elementor-element-a08e93c .elementor-column {
  width: auto !important;
  flex: 1 1 140px;
}

.jem-rebrand .jem-stats-split .elementor-element-a08e93c .elementor-widget-wrap {
  background: rgb(255 255 255 / 94%) !important;
  backdrop-filter: blur(10px);
  border-radius: 1rem !important;
  padding: 1rem 1.15rem !important;
  box-shadow: 0 12px 40px rgb(27 58 92 / 14%);
  border: 1px solid rgb(255 255 255 / 60%);
}

.jem-rebrand .jem-stats-split .elementor-icon-box-title span {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--jem-purple) !important;
}

.jem-rebrand .jem-stats-split .elementor-column {
  width: 100% !important;
}

/* ── Objectives / goals — uniform numbered white boxes ── */

.jem-rebrand .jem-stats-split .elementor-element-bb58869 .elementor-widget-container,
.jem-rebrand .jem-goals-panel .elementor-element-2df331e .elementor-widget-container,
.jem-rebrand .jem-numbered-items {
  display: block !important;
}

.jem-rebrand .jem-stats-split .elementor-element-bb58869 .jem-numbered-items > p,
.jem-rebrand .jem-goals-panel .elementor-element-2df331e .jem-numbered-items > p,
.jem-rebrand .jem-numbered-items > p {
  margin: 0 0 0.65rem !important;
  padding: 0.85rem 1rem !important;
  background: var(--jem-surface) !important;
  border: 1px solid var(--jem-border) !important;
  border-radius: var(--jem-radius, 1rem) !important;
  box-shadow: var(--jem-shadow) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  color: var(--jem-text-strong, var(--jem-navy)) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jem-rebrand .jem-numbered-items > p strong {
  display: inline;
}

.jem-rebrand .jem-stats-split .elementor-element-bb58869 .jem-numbered-items > p:last-child,
.jem-rebrand .jem-goals-panel .elementor-element-2df331e .jem-numbered-items > p:last-child,
.jem-rebrand .jem-numbered-items > p:last-child {
  margin-bottom: 0 !important;
}

.jem-rebrand .jem-stats-split .elementor-element-bb58869 .jem-numbered-items > p:hover,
.jem-rebrand .jem-goals-panel .elementor-element-2df331e .jem-numbered-items > p:hover,
.jem-rebrand .jem-numbered-items > p:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgb(27 58 92 / 10%) !important;
}

.jem-rebrand .jem-stats-split .elementor-element-bb58869 .jem-numbered-items > p strong,
.jem-rebrand .jem-goals-panel .elementor-element-2df331e .jem-numbered-items > p strong,
.jem-rebrand .jem-numbered-items > p strong {
  color: var(--jem-navy) !important;
}

.jem-rebrand .jem-goals-panel {
  padding-block: var(--jem-section-y) !important;
}

.jem-rebrand .jem-goals-panel > .e-con-inner {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3rem) !important;
  align-items: center !important;
  background: var(--jem-gradient-brand) !important;
  border-radius: var(--jem-radius-2xl) !important;
  padding: clamp(2rem, 5vw, 3.5rem) !important;
  box-shadow: 0 28px 70px rgb(123 75 148 / 28%);
}

.jem-rebrand .jem-goals-panel .elementor-heading-title {
  color: rgb(255 255 255 / 94%) !important;
}

.jem-rebrand .jem-goals-panel .elementor-widget-image img {
  border-radius: var(--jem-radius-xl) !important;
  box-shadow: 0 20px 50px rgb(0 0 0 / 25%);
}

/* ── Mission quote panel ── */

.jem-rebrand .jem-mission-panel > .e-con-inner {
  background: var(--jem-mint) !important;
  border-radius: var(--jem-radius-2xl);
  padding: clamp(2rem, 5vw, 3rem) !important;
  text-align: center;
}

.jem-rebrand .jem-mission-panel .elementor-widget-text-editor {
  max-width: 48rem;
  margin-inline: auto;
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  line-height: 1.65 !important;
}

/* ── Gallery duo ── */

.jem-rebrand .jem-gallery-duo {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: var(--jem-max);
  margin: 0 auto;
  padding: 0 var(--jem-gutter) clamp(3rem, 6vw, 4rem);
}

.jem-rebrand .jem-gallery-duo .e-con-inner {
  padding: 0 !important;
  max-width: none !important;
}

.jem-rebrand .jem-gallery-duo img {
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  object-fit: cover;
  border-radius: var(--jem-radius-xl) !important;
  box-shadow: var(--jem-shadow);
}

/* ── Purple bands → contained panels ── */

.jem-rebrand .jem-bg-brand {
  background: transparent !important;
}

.jem-rebrand .jem-bg-brand > .elementor-container,
.jem-rebrand .jem-bg-brand > .e-con-inner {
  background: var(--jem-gradient-brand) !important;
  border-radius: var(--jem-radius-2xl) !important;
  padding: clamp(2rem, 5vw, 3.5rem) !important;
  box-shadow: 0 24px 60px rgb(123 75 148 / 22%);
}

/* ── Testimonials ── */

.jem-rebrand .jem-testimonials-section .rkit-testimonial-wrapper.style_2 .rkit-testimonial-card {
  display: flex;
  flex-direction: column;
  height: auto !important;
  background: var(--jem-surface) !important;
  border: 1px solid var(--jem-border);
  border-left: 4px solid var(--jem-pink);
  border-radius: var(--jem-radius-xl) !important;
  padding: 2rem 2rem 1.65rem !important;
  box-shadow: var(--jem-shadow);
  overflow: hidden;
}

.jem-rebrand .jem-testimonials-section .rkit-testimonial-card .testimonial_body {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 1.25rem !important;
  min-height: 0;
  box-shadow: none !important;
}

.jem-rebrand .jem-testimonials-section .rkit-testimonial-wrapper.style_2 .testimonial_header {
  flex-direction: column;
  align-items: center;
  margin-top: 0 !important;
  padding-top: 1.15rem;
  border-top: 1px solid var(--jem-border);
  width: 100%;
}

.jem-rebrand .jem-testimonials-section .testimonial-author {
  margin-top: 0 !important;
  align-items: center;
  text-align: center;
}

.jem-rebrand .jem-testimonials-section .testimonial-author strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.jem-rebrand .jem-testimonials-section .testimonial-author span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: var(--jem-muted);
}

.jem-rebrand .jem-testimonials-section .testimonial-rating {
  margin-top: 0.65rem;
  justify-content: center;
}

.jem-rebrand .jem-testimonials-section .testimonial_description {
  font-size: 1.1rem !important;
  font-style: normal;
  line-height: 1.65 !important;
}

.jem-rebrand .jem-testimonials-section .rkit-testimonial-navigation {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: var(--jem-surface) !important;
  border: 1px solid var(--jem-border) !important;
  box-shadow: var(--jem-shadow);
}

/* ── Contact booking (logo + help cards) ── */

.jem-rebrand .jem-contact-booking {
  padding-block: clamp(3rem, 7vw, 5rem) !important;
}

.jem-rebrand .jem-contact-booking > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.9fr) 1.1fr;
  gap: clamp(2.5rem, 6vw, 4rem) !important;
  align-items: center !important;
}

.jem-rebrand .jem-contact-booking .elementor-column {
  width: 100% !important;
}

.jem-rebrand .jem-contact-booking .elementor-element-665c12d > .elementor-widget-wrap,
.jem-rebrand .jem-contact-booking > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.jem-rebrand .jem-contact-booking .elementor-element-665c12d img,
.jem-rebrand .jem-contact-booking > .elementor-container > .elementor-column:first-child img.jem-logo-inline {
  max-width: min(280px, 100%);
  width: 100%;
  height: auto;
}

.jem-rebrand .jem-contact-booking .elementor-element-4f922c8 > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jem-rebrand .jem-contact-card > .elementor-widget-container,
.jem-rebrand .jem-contact-booking .elementor-element-f69a045 > .elementor-widget-container,
.jem-rebrand .jem-contact-booking .elementor-element-c0b0298 > .elementor-widget-container {
  background: var(--jem-surface) !important;
  border: 1px solid var(--jem-border);
  border-radius: var(--jem-radius-xl) !important;
  padding: 1.5rem 1.65rem !important;
  box-shadow: var(--jem-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.jem-rebrand .jem-contact-card > .elementor-widget-container:hover,
.jem-rebrand .jem-contact-booking .elementor-element-f69a045:hover > .elementor-widget-container,
.jem-rebrand .jem-contact-booking .elementor-element-c0b0298:hover > .elementor-widget-container {
  transform: translateY(-3px);
  box-shadow: var(--jem-shadow-hover);
}

.jem-rebrand .jem-contact-booking .elementor-icon-box-wrapper,
.jem-rebrand .jem-contact-card .elementor-icon-box-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1.15rem !important;
}

.jem-rebrand .jem-contact-booking .elementor-icon-box-icon .elementor-icon,
.jem-rebrand .jem-contact-card .elementor-icon-box-icon .elementor-icon {
  width: 3.25rem !important;
  height: 3.25rem !important;
  font-size: 1.2rem !important;
}

.jem-rebrand .jem-contact-booking .elementor-icon-box-title,
.jem-rebrand .jem-contact-card .elementor-icon-box-title {
  font-family: var(--jem-font) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--jem-navy) !important;
  margin-bottom: 0.5rem !important;
}

.jem-rebrand .jem-contact-booking .elementor-icon-box-description,
.jem-rebrand .jem-contact-card .elementor-icon-box-description {
  color: var(--jem-muted) !important;
  line-height: 1.65 !important;
}

.jem-rebrand .jem-contact-line {
  margin: 0 0 0.85rem !important;
}

.jem-rebrand .jem-contact-line:last-child {
  margin-bottom: 0 !important;
}

.jem-rebrand .jem-contact-note {
  margin: 0 !important;
  font-size: 0.95rem !important;
  color: var(--jem-muted) !important;
}

.jem-rebrand .jem-contact-link {
  color: var(--jem-purple) !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgb(123 75 148 / 22%);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.jem-rebrand .jem-contact-link:hover {
  color: var(--jem-navy) !important;
  border-bottom-color: var(--jem-purple);
}

.jem-rebrand .jem-contact-booking + .jem-testimonials-section {
  margin-top: 0.5rem;
}

/* ── Testimonials ── */

.jem-rebrand .site-main .elementor-widget-image img {
  border-radius: var(--jem-radius-xl) !important;
}

/* ── Footer ── */

.jem-rebrand .elementor-location-footer .elementor-section {
  padding-block: 3.5rem !important;
}

.jem-rebrand .elementor-location-footer .elementor-container {
  max-width: var(--jem-max) !important;
  padding-inline: var(--jem-gutter) !important;
}

.jem-rebrand .elementor-location-footer .elementor-inner-section .elementor-container {
  gap: 2rem;
}

/* ── Scroll reveal ── */

.jem-rebrand .jem-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.jem-rebrand .jem-reveal.jem-visible {
  opacity: 1;
  transform: none;
}

/* ── Buttons ── */

.jem-rebrand .site-main .elementor-button {
  border-radius: 9999px !important;
  padding: 0.9rem 1.6rem !important;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jem-rebrand .site-main .elementor-button:hover {
  transform: translateY(-2px);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .jem-rebrand .jem-services-unified {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jem-rebrand .jem-services-unified .jem-service-featured {
    grid-column: span 2;
  }

  .jem-rebrand .jem-about-split > .elementor-container,
  .jem-rebrand .jem-aim-split > .elementor-container,
  .jem-rebrand .jem-stats-split > .elementor-container,
  .jem-rebrand .jem-goals-panel > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .jem-rebrand .jem-contact-booking > .elementor-container {
    grid-template-columns: 1fr !important;
  }

  .jem-rebrand .jem-contact-booking .elementor-element-665c12d > .elementor-widget-wrap,
  .jem-rebrand .jem-contact-booking > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
    margin-top: 1.5rem;
    padding-top: 0.5rem;
  }

  .jem-rebrand .jem-stats-split .elementor-element-a08e93c {
    position: static;
    margin-top: -3rem !important;
  }

  .jem-rebrand .elementor-location-header .elementor-element-5d20ded0 {
    display: none;
  }
}

@media (max-width: 767px) {
  .jem-rebrand .jem-services-unified {
    grid-template-columns: 1fr;
  }

  .jem-rebrand .jem-services-unified .jem-service-featured {
    grid-column: span 1;
  }

  .jem-rebrand .jem-gallery-duo {
    grid-template-columns: 1fr;
  }

  .jem-rebrand .jem-hero-slides .swiper-slide-contents {
    max-width: 100% !important;
  }
}
