.jm-experiences {
  --night: #0b2730;
  --night-soft: #133941;
  --aqua: #35c5c4;
  --aqua-dark: #167e7e;
  --paper: #f5f2eb;
  --paper-deep: #ebe5da;
  --ink: #17322f;
  --muted: #687874;
  --line: rgba(23, 50, 47, 0.18);
  --white: #fffef9;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Inter, Arial, sans-serif;
}

.jm-experiences,
.jm-experiences * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.elementor-widget-jatun-experiences,
.elementor-widget-jatun-experiences > .elementor-widget-container {
  width: 100%;
  max-width: none;
}

.jm-experiences {
  position: relative;
  width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.jm-page-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.jm-experiences #historia,
.jm-experiences #es-para-ti,
.jm-experiences #salidas,
.jm-experiences #como-funciona {
  scroll-margin-top: 1rem;
}

body.jm-menu-open {
  overflow: hidden;
}

.jm-experiences img {
  display: block;
  max-width: 100%;
}

.jm-experiences a {
  color: inherit;
  text-decoration: none;
}

.jm-experiences button,
.jm-experiences a {
  -webkit-tap-highlight-color: transparent;
}

.jm-experiences button {
  font: inherit;
}

.jm-sr-only,
.jm-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jm-skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--white);
  color: var(--night);
}

.jm-site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(1.25rem, 4vw, 4.5rem);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.jm-brand {
  width: clamp(160px, 16vw, 230px);
}

.jm-brand img,
.jm-site-footer img {
  width: 100%;
}

.jm-site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.3vw, 2.5rem);
  font-size: 0.84rem;
  font-weight: 500;
}

.jm-site-nav a:not(.jm-nav-cta) {
  position: relative;
}

.jm-site-nav a:not(.jm-nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.jm-site-nav a:hover::after,
.jm-site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.jm-nav-cta {
  padding: 0.72rem 1rem;
  color: var(--night);
  background: var(--aqua);
}

.jm-language-switcher {
  font-family: var(--sans);
  font-size: 0.78rem;
}

.jm-language-switcher .wpml-ls {
  padding: 0;
  border: 0;
}

.jm-language-switcher .wpml-ls a {
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

.jm-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  background: transparent;
}

.jm-menu-toggle span:not(.jm-sr-only) {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--white);
}

.jm-hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.jm-hero-image,
.jm-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jm-hero-image {
  object-fit: cover;
  object-position: center;
}

.jm-hero-shade {
  background: rgba(8, 34, 41, 0.46);
}

.jm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 10rem clamp(1.25rem, 7.5vw, 9rem) clamp(5rem, 10vh, 7rem);
  color: var(--white);
}

.jm-eyebrow {
  margin: 0 0 1.25rem;
  color: var(--aqua-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jm-eyebrow.jm-light {
  color: var(--aqua);
}

.jm-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.5vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.jm-hero h1 span {
  display: block;
}

.jm-hero-intro {
  max-width: 630px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.35;
}

.jm-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.jm-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.jm-button:hover,
.jm-button:focus-visible {
  transform: translateY(-2px);
}

.jm-button-primary {
  background: var(--aqua);
  color: var(--night);
}

.jm-button-primary:hover,
.jm-button-primary:focus-visible {
  background: var(--white);
}

.jm-button-dark {
  background: var(--night);
  color: var(--white);
}

.jm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
}

.jm-light-link {
  color: var(--white);
}

.jm-hero-note {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 4.5rem);
  bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jm-section {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem);
}

.jm-intro,
.jm-manifesto,
.jm-process {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.jm-section-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jm-section-label span {
  color: var(--aqua-dark);
  font-weight: 600;
}

.jm-section-label p {
  margin: 0;
}

.jm-intro-copy .jm-lead {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.1vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.jm-body-columns {
  display: grid;
  max-width: 800px;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 4rem 0 0 auto;
  color: var(--muted);
}

.jm-body-columns p {
  margin: 0;
}

.jm-quote-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 9vw, 10rem);
  color: var(--white);
  background: var(--night);
}

.jm-quote-mark {
  position: absolute;
  top: -8rem;
  right: 5vw;
  color: rgba(53, 197, 196, 0.09);
  font-family: var(--serif);
  font-size: 35rem;
  line-height: 1;
}

.jm-experiences blockquote {
  position: relative;
  max-width: 1100px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.2vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.jm-quote-detail {
  position: relative;
  display: grid;
  max-width: 820px;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 5rem 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
}

.jm-quote-detail p {
  margin: 0;
}

.jm-manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.jm-manifesto h2,
.jm-departures h2,
.jm-process h2,
.jm-fit-heading h2,
.jm-closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.jm-manifesto-copy {
  padding-top: 3rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.jm-manifesto-copy p {
  margin: 0 0 1.4rem;
}

.jm-manifesto-copy .jm-accent-line {
  margin-top: 2.5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
}

.jm-fit-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(4rem, 8vw, 9rem);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem);
  color: var(--white);
  background: var(--night-soft);
}

.jm-fit-heading {
  position: sticky;
  top: 4rem;
  align-self: start;
}

.jm-fit-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.jm-fit-item {
  display: grid;
  grid-template-columns: 50px minmax(140px, 0.7fr) 1fr;
  gap: 1.4rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.jm-fit-item > span {
  color: var(--aqua);
  font-size: 0.72rem;
}

.jm-fit-item h3,
.jm-process-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.jm-fit-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.jm-departures {
  background: var(--white);
}

.jm-departures-head {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.jm-departures-head > p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.jm-departure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.jm-departure-card {
  display: flex;
  min-height: 530px;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease, color 200ms ease;
}

.jm-departure-card:hover {
  color: var(--white);
  background: var(--night);
}

.jm-departure-card:hover .jm-duration,
.jm-departure-card:hover > p {
  color: rgba(255, 255, 255, 0.65);
}

.jm-departure-card:hover .jm-card-link {
  color: var(--aqua);
  border-color: rgba(255, 255, 255, 0.22);
}

.jm-month {
  color: var(--aqua-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jm-departure-date {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  margin: 2.4rem 0 0.7rem;
}

.jm-departure-date strong {
  font-family: var(--serif);
  font-size: 5.2rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.75;
}

.jm-departure-date span {
  font-size: 0.8rem;
  line-height: 1.25;
}

.jm-departure-card .jm-duration {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.jm-departure-card > p:not(.jm-duration) {
  margin: 0;
  color: var(--muted);
}

.jm-card-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 1rem 0 0;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
}

.jm-card-link span {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.jm-card-link:hover span,
.jm-card-link:focus-visible span {
  transform: translate(3px, -3px);
}

.jm-process {
  background: var(--paper-deep);
}

.jm-process > .jm-process-head,
.jm-process > .jm-process-list {
  grid-column: 2;
}

.jm-process-head {
  max-width: 970px;
}

.jm-process-list {
  padding: 0;
  margin: 4rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.jm-process-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.jm-process-list li > span {
  color: var(--aqua-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.jm-process-list h3 {
  font-size: 1.8rem;
}

.jm-process-list p {
  max-width: 650px;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.jm-closing {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem);
  color: var(--white);
  background: var(--night);
}

.jm-closing-copy {
  position: relative;
  z-index: 2;
}

.jm-closing-copy > p:not(.jm-eyebrow) {
  max-width: 620px;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.68);
}

.jm-closing-orbit {
  position: relative;
  width: min(34vw, 480px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(53, 197, 196, 0.45);
  border-radius: 50%;
}

.jm-closing-orbit::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.jm-closing-orbit span {
  position: absolute;
  padding: 0.2rem 0.5rem;
  color: var(--aqua);
  background: var(--night);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jm-closing-orbit span:nth-child(1) {
  top: 2%;
  left: 42%;
}

.jm-closing-orbit span:nth-child(2) {
  top: 50%;
  right: -4%;
}

.jm-closing-orbit span:nth-child(3) {
  bottom: 8%;
  left: 13%;
}

.jm-orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--serif);
  font-size: 4rem;
  transform: translate(-50%, -50%);
}

.jm-site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: end;
  padding: 3rem clamp(1.25rem, 5vw, 5rem);
  color: rgba(255, 255, 255, 0.68);
  background: #071d24;
  font-size: 0.75rem;
}

.jm-site-footer img {
  width: 180px;
}

.jm-site-footer p {
  margin: 0.8rem 0 0;
}

.jm-footer-links {
  display: flex;
  gap: 1.4rem;
}

.jm-footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/*
 * Keep dark sections readable even when Elementor or the active theme applies
 * global heading and text colors after this widget's base styles.
 */
.jm-experiences .jm-site-header,
.jm-experiences .jm-site-header a,
.jm-experiences .jm-site-nav a {
  color: var(--white) !important;
}

.jm-experiences .jm-site-nav .jm-nav-cta {
  color: var(--night) !important;
}

.jm-experiences .jm-hero h1,
.jm-experiences .jm-hero .jm-hero-intro,
.jm-experiences .jm-hero .jm-light-link {
  color: var(--white) !important;
}

.jm-experiences .jm-hero .jm-hero-note {
  color: rgba(255, 255, 255, 0.82) !important;
}

.jm-experiences .jm-quote-section,
.jm-experiences .jm-quote-section blockquote {
  color: var(--white) !important;
}

.jm-experiences .jm-quote-section .jm-quote-detail,
.jm-experiences .jm-quote-section .jm-quote-detail p {
  color: #d5e0dd !important;
}

.jm-experiences .jm-fit-section,
.jm-experiences .jm-fit-section .jm-fit-heading h2,
.jm-experiences .jm-fit-section .jm-fit-item h3 {
  color: var(--white) !important;
}

.jm-experiences .jm-fit-section .jm-fit-item p {
  color: #d7e2df !important;
}

.jm-experiences .jm-fit-section .jm-eyebrow,
.jm-experiences .jm-fit-section .jm-fit-item > span {
  color: var(--aqua) !important;
}

.jm-experiences .jm-departure-card:hover,
.jm-experiences .jm-departure-card:hover .jm-departure-date strong,
.jm-experiences .jm-departure-card:hover .jm-departure-date span {
  color: var(--white) !important;
}

.jm-experiences .jm-departure-card:hover .jm-month,
.jm-experiences .jm-departure-card:hover .jm-card-link {
  color: var(--aqua) !important;
}

.jm-experiences .jm-departure-card:hover .jm-duration,
.jm-experiences .jm-departure-card:hover > p {
  color: #d5e0dd !important;
}

.jm-experiences .jm-closing,
.jm-experiences .jm-closing h2,
.jm-experiences .jm-closing .jm-orbit-center {
  color: var(--white) !important;
}

.jm-experiences .jm-closing .jm-closing-copy > p:not(.jm-eyebrow) {
  color: #d5e0dd !important;
}

.jm-experiences .jm-closing .jm-eyebrow,
.jm-experiences .jm-closing .jm-closing-orbit span {
  color: var(--aqua) !important;
}

.jm-experiences .jm-site-footer,
.jm-experiences .jm-site-footer p,
.jm-experiences .jm-site-footer a {
  color: #d5e0dd !important;
}

.jm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .jm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jm-experiences,
  .jm-experiences * {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .jm-menu-toggle {
    position: relative;
    z-index: 22;
    display: block;
  }

  .jm-site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 2rem;
    background: var(--night);
    font-family: var(--serif);
    font-size: 2rem;
    transform: translateX(100%);
    transition: transform 250ms ease;
  }

  .jm-site-nav.jm-is-open {
    transform: translateX(0);
  }

  .jm-nav-cta {
    margin-top: 1rem;
    font-family: var(--sans);
    font-size: 0.9rem;
  }

  .jm-intro,
  .jm-manifesto,
  .jm-process {
    grid-template-columns: 1fr;
  }

  .jm-manifesto-grid {
    grid-template-columns: 1fr;
  }

  .jm-manifesto-copy {
    max-width: 650px;
    padding-top: 0;
  }

  .jm-fit-section,
  .jm-departures-head,
  .jm-closing {
    grid-template-columns: 1fr;
  }

  .jm-fit-heading {
    position: static;
  }

  .jm-departure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jm-process > .jm-process-head,
  .jm-process > .jm-process-list {
    grid-column: 1;
  }

  .jm-closing-orbit {
    width: min(65vw, 420px);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .jm-site-header {
    padding: 1rem 1.1rem;
  }

  .jm-brand {
    width: 155px;
  }

  .jm-hero {
    min-height: 92svh;
  }

  .jm-hero-image {
    object-position: 62% center;
  }

  .jm-hero-shade {
    background: rgba(7, 31, 38, 0.58);
  }

  .jm-hero-content {
    padding: 8rem 1.25rem 6.5rem;
  }

  .jm-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.35rem);
    line-height: 0.92;
  }

  .jm-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .jm-hero-note {
    right: auto;
    bottom: 1.5rem;
    left: 1.25rem;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .jm-body-columns,
  .jm-quote-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .jm-body-columns {
    margin-top: 2.5rem;
  }

  .jm-fit-item {
    grid-template-columns: 36px 1fr;
  }

  .jm-fit-item p {
    grid-column: 2;
  }

  .jm-departure-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .jm-departure-card {
    min-height: 470px;
  }

  .jm-process-list li {
    grid-template-columns: 50px 1fr;
  }

  .jm-closing {
    min-height: auto;
  }

  .jm-closing-orbit {
    width: min(82vw, 350px);
  }

  .jm-site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .jm-copyright {
    margin-top: 0 !important;
  }
}
