@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');
.s_oc_smart_ecosystem {
  position: relative;
  width: 100%;
  min-height: 133vh !important;
  background-color: #0d1421;
  background-image: url('/oc-snippets/static/src/img/home/block_3_paragraph.webp') !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #ffffff;
  box-sizing: border-box;
  padding-right: 6.813rem !important;
  padding-left: 6.813rem !important;
}

.s-oc-smart__wrapper {
  height: 63.75rem !important;
}

.s-oc-smart__curve {
  width: 32% !important;
  transform: translateY(-50%) translateX(20%) !important;
}

.s-oc-smart__curve img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.s-oc-smart__content {
    width: 55%;
    max-width: 520px;
    padding-top: 10px;
    color: #ffffff;
    margin-left: auto !important;
}

.s-oc-smart__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 59px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
  text-align: right;
  color: #ffffff !important;
}

.s-oc-smart__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  margin-bottom: 14px;
  color: #e6e6e6;
}

/* =========================
   TABLET + MOBILE  (< 991.98px)
   - arregla proporciones de la curva
   - elimina hacks de desktop (transform + margin-right negativo)
   ========================= */
@media (max-width: 991.98px) {

  .s_oc_smart_ecosystem{
    min-height: auto !important;          /* evita el 133vh en móvil/tablet */
    padding: 56px 0 64px;
    background-position: center top;
  }

  .s-oc-smart__wrapper{
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 22px;
  }

  /* Imagen/curva: vuelve a “normal” y escala bien */
  .s-oc-smart__curve{
    order: 0;                             /* curva arriba */
    width: 100% !important;
    max-width: clamp(320px, 72vw, 560px); /* escala fluido */
    margin: 0 auto;
    transform: none !important;           /* CLAVE: apaga el translate de desktop */
  }

  .s-oc-smart__curve img{
    width: 100%;
    height: auto;
    max-height: 52vh;                     /* evita que se coma la pantalla */
    object-fit: contain;                  /* mantiene proporción real del PNG */
  }

  /* Texto: apaga el “empuje” negativo y centra */
  .s-oc-smart__content{
    order: 1;
    width: 100%;
    max-width: 720px;
    margin-right: 0 !important;           /* CLAVE: apaga -206px */
    padding-top: 0;
    text-align: center;
  }

  .s-oc-smart__title{
    font-size: clamp(26px, 5vw, 40px);
    text-align: center;
    margin-bottom: 14px;
  }

  .s-oc-smart__text{
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
  }
}

/* =========================
   MOBILE FINO (<= 575.98px)
   ========================= */
@media (max-width: 575.98px) {

  .s_oc_smart_ecosystem{
    padding: 44px 0 56px;
  }

  .s-oc-smart__wrapper{
    padding: 0 16px;
  }

  .s-oc-smart__curve{
    max-width: min(420px, 92vw);
  }

  .s-oc-smart__curve img{
    max-height: 46vh;
  }

  .s-oc-smart__title{
    font-size: 24px;
    line-height: 1.15;
  }

  .s-oc-smart__text{
    font-size: 13px;
  }
}

