/* Jamjuree Massage — Lotus Grove design system */
:root {
  /* Logo palette: forest green wordmark, lime lotus, magenta hands/rays */
  --ink: #063a08;
  --ink-soft: #0a5210;
  --jade: #1ab01a;
  --jade-deep: #009000;
  --leaf: #24fc00;
  --mist: #eaf8ea;
  --fog: #f5fbf5;
  --stone: #f0a8ec;
  --copper: #e600d6;
  --magenta: #fc00f0;
  --white: #ffffff;
  --muted: #3f6b3f;
  --line: rgba(0, 144, 0, 0.16);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(0, 144, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(252, 0, 240, 0.08), transparent 50%),
    linear-gradient(180deg, var(--fog) 0%, var(--white) 28%, var(--mist) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--jade-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--copper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

/* ——— Nav ——— */
.jj-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  background: rgba(243, 247, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.jj-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}

.jj-nav .container-fluid {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.65rem;
}

.jj-nav .navbar-brand img {
  width: 112px;
  height: auto;
}

.jj-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 520;
  letter-spacing: 0.02em;
  color: var(--ink-soft) !important;
  padding: 0.45rem 0.7rem !important;
  position: relative;
}

.jj-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.jj-nav .nav-link:hover::after,
.jj-nav .nav-link.active::after {
  transform: scaleX(1);
}

.jj-nav .navbar-toggler {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 0.55rem;
}

.jj-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 0.35rem;
}

.jj-nav .dropdown-item {
  border-radius: 4px;
  font-size: 0.92rem;
}

/* ——— Buttons ——— */
.jj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}

.jj-btn:hover {
  transform: translateY(-1px);
}

.jj-btn--primary {
  background: var(--jade-deep);
  color: var(--white) !important;
}

.jj-btn--primary:hover {
  background: var(--jade);
  color: var(--white) !important;
}

.jj-btn--ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.jj-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
}

.jj-btn--outline {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}

.jj-btn--outline:hover {
  background: var(--ink);
  color: var(--white) !important;
}

.jj-nav .jj-btn--primary {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

/* ——— Hero ——— */
.jj-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
}

.jj-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jj-hero__media video,
.jj-hero__media img,
.jj-hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jj-hero__fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #009000 0%, #063a08 55%, #1ab01a 100%),
    url("../img/katherine-hanlon-83RTpUBjyYY-unsplash.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
}

.jj-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 58, 8, 0.78) 0%, rgba(6, 58, 8, 0.45) 48%, rgba(6, 58, 8, 0.25) 100%),
    linear-gradient(180deg, transparent 40%, rgba(6, 58, 8, 0.55) 100%);
  pointer-events: none;
}

.jj-hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: clamp(4rem, 12vh, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vh, 5rem);
  animation: jj-rise 1s var(--ease) both;
}

.jj-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  color: var(--white);
  text-shadow: none;
}

.jj-hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 28ch;
  line-height: 1.35;
}

.jj-hero__lede {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem;
  max-width: 36ch;
}

.jj-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes jj-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jj-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes jj-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.jj-hero__media video,
.jj-hero__fallback {
  animation: jj-kenburns 28s ease-out forwards;
}

/* ——— Sections ——— */
.jj-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.jj-section--mist {
  background:
    linear-gradient(180deg, rgba(230, 238, 234, 0.65), rgba(243, 247, 245, 0.9));
}

.jj-section--ink {
  background: linear-gradient(160deg, var(--ink) 0%, #009000 100%);
  color: rgba(255, 255, 255, 0.88);
}

.jj-section--ink h2,
.jj-section--ink h3 {
  color: var(--white);
}

.jj-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.jj-kicker {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jade);
  margin: 0 0 0.75rem;
}

.jj-section--ink .jj-kicker {
  color: var(--stone);
}

.jj-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.jj-lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.jj-section--ink .jj-lede {
  color: rgba(255, 255, 255, 0.72);
}

.jj-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .jj-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .jj-split--reverse > :first-child {
    order: 2;
  }
}

.jj-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--mist);
}

.jj-media img,
.jj-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: jj-fade-in 1.2s var(--ease) both;
}

.jj-media--tall {
  aspect-ratio: 3 / 4;
}

/* ——— Services list (no cards) ——— */
.jj-services {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.jj-service {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

@media (min-width: 700px) {
  .jj-service {
    grid-template-columns: minmax(140px, 0.35fr) 1fr auto;
  }
}

.jj-service__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

.jj-service__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.jj-service__link {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--jade-deep);
}

.jj-service__link:hover {
  color: var(--copper);
}

/* ——— Reasons (no cards / no emoji) ——— */
.jj-reasons {
  display: grid;
  gap: 2rem 2.5rem;
}

@media (min-width: 768px) {
  .jj-reasons {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jj-reason h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.jj-reason p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.jj-reason__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--jade);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

/* ——— Stats strip ——— */
.jj-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .jj-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.jj-stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--stone);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.jj-stat__label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

/* ——— Visit ——— */
.jj-visit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.jj-visit-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  font-size: 1rem;
}

.jj-visit-list strong {
  color: var(--jade-deep);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jj-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--mist);
}

.jj-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— FAQ ——— */
.jj-faq .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
}

.jj-faq .accordion-button {
  background: transparent !important;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 520;
  box-shadow: none !important;
  padding: 1.15rem 0;
}

.jj-faq .accordion-button:not(.collapsed) {
  color: var(--jade-deep) !important;
}

.jj-faq .accordion-button::after {
  filter: none;
}

.jj-faq .accordion-body {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

/* ——— Reviews ——— */
.jj-reviews-frame {
  width: 100%;
  min-height: 640px;
  border: 0;
}

/* ——— Footer ——— */
.jj-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.jj-footer h3 {
  color: var(--stone);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 650;
  margin-bottom: 1rem;
}

.jj-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
}

.jj-footer a:hover {
  color: var(--stone) !important;
}

.jj-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jj-footer li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.jj-footer__brand {
  text-align: center;
  margin-bottom: 2.5rem;
}

.jj-footer__brand img {
  margin: 0 auto 0.75rem;
  width: 150px;
  filter: brightness(1.05);
}

.jj-footer__brand p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin: 0;
}

.jj-footer__meta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ——— Modal ——— */
.jj-modal .modal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
}

.jj-modal .modal-header {
  background: var(--jade-deep);
  color: var(--white);
  border: none;
}

.jj-modal .modal-title {
  font-family: var(--font-display);
  width: 100%;
  text-align: center;
  color: var(--white);
}

.jj-modal .modal-body {
  padding: 2rem 1.5rem;
  background: var(--fog);
}

/* ——— Reveal on scroll ——— */
.jj-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.jj-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Service detail pages ——— */
.jj-service-detail {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .jj-service-detail {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.jj-service-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}

.jj-service-detail__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.jj-service-detail__copy .jj-title {
  margin-bottom: 0.85rem;
}

.jj-service-detail__copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.jj-service-detail__meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 560px) {
  .jj-service-detail__meta {
    grid-template-columns: 1fr 1fr;
  }
}

.jj-service-detail__meta h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
}

.jj-service-detail__meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.jj-service-detail__list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.jj-service-detail__list li {
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.jj-service-detail__related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.jj-service-detail__related-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 550;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.jj-service-detail__related-link:hover {
  border-color: var(--jade);
  background: rgba(0, 144, 0, 0.08);
  color: var(--jade-deep) !important;
}

.jj-service .jj-service__link + .jj-service__link {
  margin-left: 0.85rem;
}

/* ——— Subpage page hero ——— */
.jj-page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(0, 144, 0, 0.10), transparent 55%),
    linear-gradient(180deg, var(--mist) 0%, var(--fog) 100%);
}

.jj-page-hero .jj-title {
  max-width: 22ch;
  margin-bottom: 0.75rem;
}

.jj-page-hero .jj-lede {
  margin-bottom: 0;
}

/* ——— Prose blocks (etiquette, privacy) ——— */
.jj-prose {
  max-width: 720px;
}

.jj-prose h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.jj-prose > * + h3 {
  margin-top: 2.5rem;
}

.jj-prose p,
.jj-prose li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.jj-prose ul {
  padding-left: 1.15rem;
  margin: 0 0 0.5rem;
}

.jj-prose li {
  margin-bottom: 0.55rem;
}

.jj-prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Offer / promo rows (no emoji cards) ——— */
.jj-offers {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.jj-offer {
  display: grid;
  gap: 0.5rem 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

@media (min-width: 700px) {
  .jj-offer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.jj-offer h3 {
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
}

.jj-offer p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* ——— Gallery ——— */
.jj-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .jj-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .jj-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jj-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid var(--line);
}

.jj-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.jj-gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ——— Forms ——— */
.jj-form {
  max-width: 560px;
}

.jj-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jade-deep);
  margin-bottom: 0.4rem;
}

.jj-form .jj-field {
  margin-bottom: 1.25rem;
}

.jj-form input,
.jj-form select,
.jj-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.jj-form input:focus,
.jj-form select:focus,
.jj-form textarea:focus {
  outline: 2px solid rgba(0, 144, 0, 0.35);
  border-color: var(--jade);
}

.jj-form .form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.jj-form .form-check-label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.jj-cta-band {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hotel-badge {
  display: none;
}

@media (max-width: 767px) {
  .jj-hero {
    min-height: 88vh;
    place-items: end stretch;
  }

  .jj-hero__content {
    width: 100%;
  }

  .jj-hero__ctas .jj-btn {
    flex: 1 1 auto;
  }

  .jj-visit-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}


/* ——— Services mega menu (Aromdi pattern, Lotus Grove) ——— */
.jj-btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.jj-mega {
  position: static;
}

.jj-mega__toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.jj-mega__chev {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.2s var(--ease);
}

.jj-mega.is-open .jj-mega__chev {
  transform: rotate(180deg);
}

.jj-mega__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 200;
  padding: 0.75rem 1rem 1.25rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.jj-mega.is-open .jj-mega__panel,
.jj-mega__panel:not([hidden]) {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.jj-mega__panel[hidden] {
  display: none !important;
}

.jj-mega.is-open .jj-mega__panel {
  display: block !important;
}

.jj-mega__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  background: linear-gradient(160deg, var(--ink) 0%, #0a5210 55%, #009000 100%);
  border: 1px solid rgba(252, 0, 240, 0.22);
  border-radius: var(--radius);
  max-height: min(70vh, calc(100dvh - 5.5rem - env(safe-area-inset-bottom, 0px)));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 24px 60px rgba(0, 144, 0, 0.28);
}

.jj-mega__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jj-mega__kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.jj-mega__title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.jj-mega__head-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jj-mega__head-ctas .jj-btn--outline {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.jj-mega__head-ctas .jj-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
}

.jj-mega__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.85rem;
}

@media (min-width: 700px) {
  .jj-mega__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .jj-mega__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jj-mega__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.jj-mega__item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(252, 0, 240, 0.35);
  color: var(--white) !important;
}

.jj-mega__item img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jj-mega__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 520;
  color: var(--white);
}

.jj-mega__item:hover strong {
  color: var(--stone);
}

.jj-mega__item small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

/* Mobile: accordion inside collapsed navbar */
@media (max-width: 991.98px) {
  /* Scroll the open nav itself so Services + rest of menu stay reachable */
  .jj-nav .navbar-collapse.show,
  .jj-nav .navbar-collapse.collapsing {
    max-height: calc(100dvh - var(--nav-h) - 0.5rem - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .jj-mega {
    width: 100%;
  }

  .jj-mega__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.7rem !important;
  }

  .jj-mega__panel {
    position: static;
    padding: 0;
    transform: none;
    opacity: 1;
  }

  .jj-mega__panel[hidden] {
    display: none !important;
  }

  .jj-mega.is-open .jj-mega__panel[hidden] {
    display: block !important;
  }

  /* Expand in-flow; do not create a nested scroll trap over the page/nav */
  .jj-mega__inner {
    max-height: none;
    overflow: visible;
    margin: 0.35rem 0 0.75rem;
    border-radius: var(--radius);
  }

  .jj-mega__grid {
    grid-template-columns: 1fr;
  }

  .jj-mega__head-ctas .jj-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}


/* ——— Breadcrumbs ——— */
.jj-breadcrumbs {
  padding: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.jj-breadcrumbs a {
  color: var(--jade-deep) !important;
  text-decoration: none !important;
}
.jj-breadcrumbs a:hover {
  color: var(--copper) !important;
}
.jj-breadcrumbs span[aria-hidden] {
  margin: 0 0.35rem;
  opacity: 0.55;
}
