/* Diseño original (widget "sea") portado sin Elementor */
#cjSeaInvestment,
#cjSeaInvestment * {
  box-sizing: border-box;
}

#cjSeaInvestment {
  --cj-gold: #c2a25e;
  --cj-gold-dark: #a98942;
  --cj-white: #ffffff;

  position: relative;
  width: 100%;
  min-height: clamp(430px, 58vh, 620px);
  overflow: hidden;
  isolation: isolate;

  font-family: inherit;
  background: #101820;
}

/* Imagen */

#cjSeaInvestment .cj-sea-investment__media {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: block;
  width: 100%;
  height: 100%;
}

#cjSeaInvestment .cj-sea-investment__image {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  transform: translateZ(0);
}

/* Overlay ligero para legibilidad */

#cjSeaInvestment .cj-sea-investment__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.38) 34%,
      rgba(0, 0, 0, 0.14) 68%,
      rgba(0, 0, 0, 0.08) 100%
    );

  pointer-events: none;
}

/* Contenido */

#cjSeaInvestment .cj-sea-investment__inner {
  position: relative;
  z-index: 3;

  width: min(1180px, calc(100% - 48px));
  min-height: inherit;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#cjSeaInvestment .cj-sea-investment__content {
  width: min(560px, 100%);
  padding: 72px 0 68px;
}

#cjSeaInvestment .cj-sea-investment__eyebrow {
  display: block;

  margin: 0 0 22px;

  font-size: clamp(10px, 0.75vw, 12px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.72);
}

#cjSeaInvestment .cj-sea-investment__title {
  margin: 0;

  max-width: 520px;

  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;

  color: #ffffff;
}

#cjSeaInvestment .cj-sea-investment__text {
  margin: 22px 0 0;

  max-width: 545px;

  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.92);
}

#cjSeaInvestment .cj-sea-investment__button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 54px;
  padding: 0 28px;

  background: var(--cj-gold);
  border: 1px solid var(--cj-gold);
  border-radius: 0;

  color: #ffffff;

  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  text-decoration: none;

  transition:
    background-color 0.22s ease,
    border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  #cjSeaInvestment .cj-sea-investment__button:hover {
    background: var(--cj-gold-dark);
    border-color: var(--cj-gold-dark);
    color: #ffffff;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  #cjSeaInvestment {
    min-height: 500px;
  }

  #cjSeaInvestment .cj-sea-investment__inner {
    width: min(100% - 40px, 920px);
  }

  #cjSeaInvestment .cj-sea-investment__content {
    width: min(500px, 100%);
    padding: 64px 0;
  }

  #cjSeaInvestment .cj-sea-investment__title {
    font-size: clamp(29px, 5vw, 44px);
  }

  #cjSeaInvestment .cj-sea-investment__text {
    font-size: 15px;
  }

  #cjSeaInvestment .cj-sea-investment__button {
    margin-top: 38px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  #cjSeaInvestment {
    min-height: 520px;
  }

  #cjSeaInvestment .cj-sea-investment__image {
    object-position: center center;
  }

  #cjSeaInvestment .cj-sea-investment__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.22) 0%,
        rgba(0, 0, 0, 0.28) 32%,
        rgba(0, 0, 0, 0.62) 100%
      );
  }

  #cjSeaInvestment .cj-sea-investment__inner {
    width: calc(100% - 32px);

    align-items: flex-end;
    justify-content: center;
  }

  #cjSeaInvestment .cj-sea-investment__content {
    width: 100%;
    max-width: 360px;

    padding: 92px 0 42px;
    text-align: left;
  }

  #cjSeaInvestment .cj-sea-investment__eyebrow {
    margin-bottom: 14px;

    font-size: 9.5px;
    letter-spacing: 0.055em;
  }

  #cjSeaInvestment .cj-sea-investment__title {
    max-width: 330px;

    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  #cjSeaInvestment .cj-sea-investment__text {
    max-width: 330px;

    margin-top: 15px;

    font-size: 13.5px;
    line-height: 1.48;
  }

  #cjSeaInvestment .cj-sea-investment__button {
    min-height: 42px;

    margin-top: 28px;
    padding: 0 22px;

    font-size: 10px;
    letter-spacing: 0.065em;
  }
}

/* MOBILE PEQUEÑO */

@media (max-width: 390px) {
  #cjSeaInvestment {
    min-height: 500px;
  }

  #cjSeaInvestment .cj-sea-investment__inner {
    width: calc(100% - 28px);
  }

  #cjSeaInvestment .cj-sea-investment__content {
    max-width: 320px;
    padding-bottom: 36px;
  }

  #cjSeaInvestment .cj-sea-investment__title {
    font-size: 26px;
  }

  #cjSeaInvestment .cj-sea-investment__text {
    font-size: 13px;
  }
}

/* Reduce motion */

@media (prefers-reduced-motion: reduce) {
  #cjSeaInvestment .cj-sea-investment__button {
    transition: none !important;
  }
}
